SwiftextensionNetwork
extension Network.Connection3
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
extends{}
classNetwork.Connection3
Members 10
- func
Network.Connection3< where A: Network.StreamProtocol>.receive(minimumLength: Int, maximumLength: Int) async throws -> (content: Foundation.Data, metadata: (endOfStream: Bool, other: [Network.NWProtocolMetadata]?)) - func
Network.Connection3< where A: Network.StreamProtocol>.receive(exactly: Int) async throws -> (content: Foundation.Data, metadata: (endOfStream: Bool, other: [Network.NWProtocolMetadata]?)) - func
Network.Connection3< where A: Network.MessageProtocol>.receive<A where A == Network.PropertyList3<A1>, A1: Decodable, A1: Encodable>() async throws -> (content: A1, metadata: [Network.NWProtocolMetadata]?, isFinal: Bool) - func
Network.Connection3< where A: Network.MessageProtocol>.receive<A where A == Network.JSON<A1>, A1: Decodable, A1: Encodable>() async throws -> (content: A1, metadata: [Network.NWProtocolMetadata]?, isFinal: Bool) - func
Network.Connection3< where A: Network.StreamProtocol>.send(_: Foundation.Data, metadata: [Network.NWProtocolMetadata]?, isComplete: Bool) async throws -> () - func
Network.Connection3< where A: Network.MessageProtocol>.send<A where A == Network.PropertyList3<A1>, A1: Decodable, A1: Encodable>(_: A1, metadata: [Network.NWProtocolMetadata], isFinal: Bool) async throws -> () - func
Network.Connection3< where A: Network.MessageProtocol>.send<A where A == Network.JSON<A1>, A1: Decodable, A1: Encodable>(_: A1, metadata: [Network.NWProtocolMetadata], isFinal: Bool) async throws -> () - typealias
typealias ApplicationProtocolType = A - typealias
typealias ID = Swift.String - var
var messages: AsyncThrowingStream<A.LegacyMessage, Error> { get }
Header
extension Network.Connection3 { func send(_: Foundation.Data, metadata: [Network.NWProtocolMetadata]?, isComplete: Swift.Bool) async throws where A: Network.StreamProtocol func receive(minimumLength: Swift.Int, maximumLength: Swift.Int) async throws -> (content: Foundation.Data, metadata: (endOfStream: Swift.Bool, other: [Network.NWProtocolMetadata]?)) where A: Network.StreamProtocol func receive(exactly: Swift.Int) async throws -> (content: Foundation.Data, metadata: (endOfStream: Swift.Bool, other: [Network.NWProtocolMetadata]?)) where A: Network.StreamProtocol func send<A1>(_: A1, metadata: [Network.NWProtocolMetadata], isFinal: Swift.Bool) async throws where A: Network.MessageProtocol func send<A1>(_: A1, metadata: [Network.NWProtocolMetadata], isFinal: Swift.Bool) async throws where A: Network.MessageProtocol func receive<A1>() async throws -> (content: A1, metadata: [Network.NWProtocolMetadata]?, isFinal: Swift.Bool) where A: Network.MessageProtocol func receive<A1>() async throws -> (content: A1, metadata: [Network.NWProtocolMetadata]?, isFinal: Swift.Bool) where A: Network.MessageProtocol }