DefaultHttpEngine
Parameters
timeoutMillis
: The timeout interval to use when connecting or waiting for additional data.
on iOS, it is used to set NSMutableURLRequest.timeoutIntervalForRequest
on Android, it is used to set both OkHttpClient.connectTimeout and OkHttpClient.readTimeout
on Js, it is used to set both connectTimeoutMillis, and socketTimeoutMillis
Constructors
Link copied to clipboard
fun DefaultHttpEngine(timeoutMillis: Long, dataTaskFactory: DataTaskFactory)
Content copied to clipboard
Link copied to clipboard
fun DefaultHttpEngine(connectTimeoutMillis: Long, readTimeoutMillis: Long)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Disposes any resources used by the HttpEngine
Disposes any resources used by the HttpEngine
Disposes any resources used by the HttpEngine
Disposes any resources used by the HttpEngine
Link copied to clipboard
Executes the given HttpRequest
Executes the given HttpRequest
Executes the given HttpRequest
Executes the given HttpRequest