WebSocketMessageSerializer
public protocol WebSocketMessageSerializer<Output, Failure> : Sendable
Undocumented
-
Undocumented
Declaration
Swift
associatedtype Output : Sendable
-
Undocumented
Declaration
Swift
associatedtype Failure : Error = any Error
-
Undocumented
Declaration
Swift
func decode(_ message: URLSessionWebSocketTask.Message) throws -> Output
-
json(decoding:
Extension methodusing: ) Undocumented
Declaration
Swift
public static func json<Value>( decoding _: Value.Type = Value.self, using decoder: JSONDecoder = JSONDecoder() ) -> DecodableWebSocketMessageDecoder<Value> where Self == DecodableWebSocketMessageDecoder<Value>