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