HttpServiceFactory

HTTP service factory. This class is used to get a pointer/reference to HTTP service platform implementation.

Functions

Link copied to clipboard
open fun getInstance(): HttpServiceInterface
Link copied to clipboard
Link copied to clipboard
Sets the cancellation callback for HTTP request events
Link copied to clipboard
Sets an interceptor for the current HTTP service instance.
Link copied to clipboard
Set maximum number of requests to a single host for the current HTTP service instance.
Link copied to clipboard
open fun setUserDefined(@NonNull custom: HttpServiceInterface)