One Logo Pool Ball
Network · IOS API REFERENCE

NWProtocolFramer.Message

class · iOS 13.0+ · SDK 27.1

class Message

A framer message is an instance of NWProtocolMetadata associated with the definition of a framer, created with an NWProtocolFramer.Definition.

Members (3)

init · iOS 13.0+

init

TypeScript
static initDefinition(definition: NWProtocolFramer_Definition): NWProtocolFramer_Message
Swift declaration
init(definition: NWProtocolFramer.Definition)

Create an instance of a framer message on which per- message options can be configured when sending data on a connection. This is intended to be used by the application above the connection to send message data down to the framer protocol instance.

init · iOS 13.0+

init

TypeScript
static initInstance(instance: NWProtocolFramer_Instance): NWProtocolFramer_Message
Swift declaration
init(instance: NWProtocolFramer.Instance)

Create a message using a framer instance rather than the definition. This can be used to deliver messages from a framer implementation to the application.

subscript · iOS 13.0+

subscript

TypeScript
subscript(key: string): (unknown) | null
Swift declaration
subscript(key: String) -> Any? { get set }

Store key-value pairs in a framer message, where the value is an arbitrary object.

Skipped declarations

No declarations were skipped in this snapshot.

All Network types →