WebSocketNetworkTransport

Constructors

Link copied to clipboard
constructor(webSocketFactory: WebSocket.Factory, wsProtocolFactory: WsProtocol.Factory, serverUrl: String, headers: List<HttpHeader>, reopenWhen: WebSocketNetworkTransport.ReopenWhen, executor: Executor, idleTimeoutMillis: Long)

Types

Link copied to clipboard
interface ReopenWhen

Functions

Link copied to clipboard
open fun dispose()
Link copied to clipboard
open fun <D : Operation.Data?> execute(@NotNull request: ApolloRequest<D>, @NotNull callback: ApolloCallback<D>, disposable: ApolloDisposable)