DefaultWebSocketEngine

constructor(webSocketFactory: NSWebSocketFactory)
actual constructor()
expect constructor()
constructor()
constructor(webSocketFactory: () -> ERROR CLASS: Symbol not found for WebSocket.Factory)
actual constructor()


constructor(webSocketFactory: ERROR CLASS: Symbol not found for WebSocket.Factory)

Creates a new DefaultWebSocketEngine from webSocketFactory

Prefer using the factory function accepting a function so that OkHttp is initialized from a background thread. See https://github.com/square/okhttp/pull/8248

actual constructor()