Contents

finalMessage

A static context that’s marked as the final message in a connection.

Declaration

static let finalMessage: NWConnection.ContentContext

Discussion

Once this context is used for sending, and the send is marked as complete, no more data can be sent on the connection.

See Also

Using Constant Send Contexts