OkHttpHttpEngine

Constructors

Link copied to clipboard
constructor(okHttpCallFactory: Call.Factory)
constructor(connectTimeout: Long, readTimeout: Long)

Functions

Link copied to clipboard
open fun dispose()
Disposes any resources used by the HttpEngine Use this to dispose a connection pool for example.
Link copied to clipboard
open fun execute(@NotNull request: HttpRequest, @NotNull callback: HttpCallback, @NotNull disposable: ApolloDisposable)
Executes the given HttpRequest