12 declarations · 80 ms
extension Network.NWProtocolWebSocket.Opcode: Swift.Hashableextension Network.NWProtocolWebSocket.Opcode: Swift.Equatableextension Network.NWProtocolWebSocket.Opcode: Swift.RawRepresentableNetwork.NWProtocolWebSocket.Metadata.__allocating_init(opcode: Network.NWProtocolWebSocket.Opcode) -> Network.NWProtocolWebSocket.Metadatastatic mapLegacy((content: Foundation.Data, metadata: Network.WebSocket.Metadata)) -> (type: Network.NWProtocolWebSocket.Opcode, content: Foundation.Data, metadata: [Network.NWProtocolMetadata]?, isFinal: Bool)let opcode: Network.NWProtocolWebSocket.Opcodelet opcode: Network.NWProtocolWebSocket.Opcodereceive< where A == Network.WebSocket>() async throws -> (type: Network.NWProtocolWebSocket.Opcode, content: Foundation.Data, metadata: [Network.NWProtocolMetadata]?, isFinal: Bool)receive< where A == Network.WebSocket>() -> Network.AsyncSequenceReceive<Network.Connection2<Network.WebSocket, Pack{repeat B}>, (type: Network.NWProtocolWebSocket.Opcode, content: Foundation.Data, metadata: [Network.NWProtocolMetadata]?, isFinal: Bool), Network.WebSocket, Pack{repeat B}>receive< where A == Network.WebSocket>() async throws -> (type: Network.NWProtocolWebSocket.Opcode, content: Foundation.Data, metadata: [Network.NWProtocolMetadata]?, isFinal: Bool)receive< where A == Network.WebSocket>() async throws -> (type: Network.NWProtocolWebSocket.Opcode, content: Foundation.Data, metadata: [Network.NWProtocolMetadata]?, isFinal: Bool)send(opcode: Network.NWProtocolWebSocket.Opcode, content: Foundation.Data?, metadata: [Network.NWProtocolMetadata], isFinal: Bool) -> Network.AsyncProperty<Network.NWConnection.State>