getInstance

open fun getInstance(): HttpServiceInterface

Returns an instance of the HTTP service. If a user defined implementation has been set with setUserDefined(), it will be returned. Otherwise, a default implementation is allocated on the first call of after a call to reset(). The default implementation is kept until a call to reset() or setUserDefined() releases it.