---
title: NWProtocolFramerImplementation
framework: network
role: symbol
role_heading: Protocol
path: network/nwprotocolframerimplementation
---

# NWProtocolFramerImplementation

A protocol to which your classes can conform in order to implement a custom framing protocol.

## Declaration

```swift
protocol NWProtocolFramerImplementation : AnyObject
```

## Topics

### Handling Instance Lifetime

- [init(framer:)](network/nwprotocolframerimplementation/init(framer:).md)
- [start(framer:)](network/nwprotocolframerimplementation/start(framer:).md)
- [NWProtocolFramer.StartResult](network/nwprotocolframer/startresult.md)
- [wakeup(framer:)](network/nwprotocolframerimplementation/wakeup(framer:).md)
- [stop(framer:)](network/nwprotocolframerimplementation/stop(framer:).md)
- [cleanup(framer:)](network/nwprotocolframerimplementation/cleanup(framer:).md)
- [label](network/nwprotocolframerimplementation/label.md)

### Handling Data

- [handleOutput(framer:message:messageLength:isComplete:)](network/nwprotocolframerimplementation/handleoutput(framer:message:messagelength:iscomplete:).md)
- [handleInput(framer:)](network/nwprotocolframerimplementation/handleinput(framer:).md)

## See Also

### Implementing Framer Protocols

- [NWProtocolFramer.Instance](network/nwprotocolframer/instance.md)
