SwiftextensionNetwork

extension Network.Connection3

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

extends{}

Members 10

  1. funcNetwork.Connection3< where A: Network.StreamProtocol>.receive(minimumLength: Int, maximumLength: Int) async throws -> (content: Foundation.Data, metadata: (endOfStream: Bool, other: [Network.NWProtocolMetadata]?))
  2. funcNetwork.Connection3< where A: Network.StreamProtocol>.receive(exactly: Int) async throws -> (content: Foundation.Data, metadata: (endOfStream: Bool, other: [Network.NWProtocolMetadata]?))
  3. funcNetwork.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)
  4. funcNetwork.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)
  5. funcNetwork.Connection3< where A: Network.StreamProtocol>.send(_: Foundation.Data, metadata: [Network.NWProtocolMetadata]?, isComplete: Bool) async throws -> ()
  6. funcNetwork.Connection3< where A: Network.MessageProtocol>.send<A where A == Network.PropertyList3<A1>, A1: Decodable, A1: Encodable>(_: A1, metadata: [Network.NWProtocolMetadata], isFinal: Bool) async throws -> ()
  7. funcNetwork.Connection3< where A: Network.MessageProtocol>.send<A where A == Network.JSON<A1>, A1: Decodable, A1: Encodable>(_: A1, metadata: [Network.NWProtocolMetadata], isFinal: Bool) async throws -> ()
  8. typealiastypealias ApplicationProtocolType = A
  9. typealiastypealias ID = Swift.String
  10. varvar messages: AsyncThrowingStream<A.LegacyMessage, Error> { get }
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
}