---
title: FramerProtocol
framework: network
role: symbol
role_heading: Protocol
path: network/framerprotocol
---

# FramerProtocol

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

## Declaration

```swift
protocol FramerProtocol
```

## Overview

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

- [definition](network/framerprotocol/definition.md)
