<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Network",
  "identifier" : "/documentation/Network/FramerProtocol",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Network"
    ],
    "preciseIdentifier" : "s:7Network14FramerProtocolP"
  },
  "title" : "FramerProtocol"
}
-->

# FramerProtocol

Framer protocols allow custom framing and serialization of messages on
a connection.

```
protocol FramerProtocol
```

## Overview

A Network Framer is an instance of a protocol in a connection’s protocol stack
that parses and writes messages on top of a transport protocol, such as a TLS
stream. A framer can add and parse headers or delimiters around application
data to provide a message-oriented abstraction.

## Topics

### Type Properties

[`static var definition: NWProtocolFramer.Definition`](/documentation/Network/FramerProtocol/definition)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)