---
title: finalMessage
framework: network
role: symbol
role_heading: Type Property
path: network/nwconnection/contentcontext/finalmessage
---

# finalMessage

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

## Declaration

```swift
static let finalMessage: NWConnection.ContentContext
```

## Discussion

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

- [defaultMessage](network/nwconnection/contentcontext/defaultmessage.md)
- [defaultStream](network/nwconnection/contentcontext/defaultstream.md)
