/
Launch Apollo Studio


CLASS

ApolloWebSocket

public class ApolloWebSocket: WebSocket, ApolloWebSocketClient, SOCKSProxyable

Included implementation of an ApolloWebSocketClient, based on Starscream's WebSocket.

Properties

enableSOCKSProxy

public var enableSOCKSProxy: Bool

Methods

init(request:protocols:)

required public convenience init(request: URLRequest, protocols: [String]? = nil)

Parameters

NameDescription
requestThe URLRequest to use on connection.
protocolsThe supported protocols
Edit on GitHub