Package org. hildan. krossbow. websocket. darwin
Types
Link copied to clipboard
class DarwinWebSocketClient(sessionConfig: NSURLSessionConfiguration = NSURLSessionConfiguration.defaultSessionConfiguration(), maximumMessageSize: Long? = null) : WebSocketClient
Content copied to clipboard
An implementation of WebSocketClient using darwin's native NSURLSessionWebSocketTask. This is only available is iOS 13.0+, tvOS 13.0+, watchOS 6.0+, macOS 10.15+ (see documentation)
Link copied to clipboard
class DarwinWebSocketException(val nsError: NSError) : WebSocketException
Content copied to clipboard
A WebSocketException caused by a darwin NSError. It contains details about the actual error cause.