NWProtocolFramer.Instance
An object that represents a single instance of your custom protocol running in a connection.
Declaration
final class InstanceOverview
All interaction between your protocol and the connection occurs through this object.
Topics
Writing Output
parseOutput(minimumIncompleteLength:maximumLength:parse:)writeOutput(data:)writeOutputNoCopy(length:)passThroughOutput()
Delivering Input
parseInput(minimumIncompleteLength:maximumLength:parse:)deliverInput(data:message:isComplete:)deliverInputNoCopy(length:message:isComplete:)passThroughInput()