Builder
class Builder
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun WebSocketNetworkTransport.Builder.okHttpClient(okHttpClient: <Error class: unknown class>): WebSocketNetworkTransport.Builder
Configures the WebSocketNetworkTransport to use the okHttpCallFactory for network requests.
Link copied to clipboard
Link copied to clipboard
fun reopenWhen(reopenWhen: suspend (Throwable, attempt: Long) -> Boolean?): WebSocketNetworkTransport.Builder
Configure the WebSocketNetworkTransport to reopen the websocket automatically when a network error happens
Link copied to clipboard
Configure the server URL.
Link copied to clipboard