Structureswift-websocket 1.1.0WSClient
WebSocketClientError
Errors returned by WebSocketClient
struct WebSocketClientError
Errors returned by WebSocketClient
struct WebSocketClientError
import WSClient
struct WebSocketClient
WebSocket client
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Error : Sendable
A type representing an error value that can be thrown.
protocol Escapable
protocol Sendable
static var invalidURL: `Self` { get }
Provided URL is invalid
static var webSocketUpgradeFailed: `Self` { get }
WebSocket upgrade failed.
var description: String { get }
var localizedDescription: String { get }
Retrieve the localized description for this error.
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.