SwiftstructNetwork
struct Network.Stream
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolNetwork.NetworkProtocolOptions
- protocolNetwork.OneToOneProtocol
- protocolNetwork.StreamProtocol
Members 9
- func
static createMetadata(endOfStream: Bool, other: [Network.NWProtocolMetadata]?) -> Network.Stream.Metadata - func
static mapLegacy((content: Foundation.Data, metadata: Network.Stream.Metadata)) -> (content: Foundation.Data, metadata: (endOfStream: Bool, other: [Network.NWProtocolMetadata]?)) - field
let belowProtocol: ()+0x0 - func
configure(parameters: OS_nw_parameters) -> () - func
configureNestedStack(parameters: OS_nw_parameters) -> () - init
init() -> Network.Stream - typealias
typealias BelowProtocol = () - typealias
typealias Metadata = Metadata - typealias
typealias ProtocolStorage = Network.DefaultProtocolStorage
Header
struct Stream { struct Metadata { let endOfStream: Swift.Bool let other: [Network.NWProtocolMetadata] func toContentContext() -> Network.NWConnection.ContentContext static func fromContentContext(context: Network.NWConnection.ContentContext?, isComplete: Swift.Bool) -> Network.Stream.Metadata? } let belowProtocol: () init() func configureNestedStack(parameters: any __C.OS_nw_parameters) func configure(parameters: any __C.OS_nw_parameters) static func createMetadata(endOfStream: Swift.Bool, other: [Network.NWProtocolMetadata]?) -> Network.Stream.Metadata static func mapLegacy(_: (content: Foundation.Data, metadata: Network.Stream.Metadata)) -> (content: Foundation.Data, metadata: (endOfStream: Swift.Bool, other: [Network.NWProtocolMetadata]?)) }