<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Network",
  "identifier" : "/documentation/Network/NWProtocolFramer/Options",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Network"
    ],
    "preciseIdentifier" : "s:7Network16NWProtocolFramerC7OptionsC"
  },
  "title" : "NWProtocolFramer.Options"
}
-->

# NWProtocolFramer.Options

A container you use to add your custom protocol to a connection’s protocol stack.

```
class Options
```

## Topics

### Creating Framer Options

[`init(definition: NWProtocolFramer.Definition)`](/documentation/Network/NWProtocolFramer/Options/init(definition:))

Initializes a set of protocol options with a custom framer definition.

### Subscripts

[`subscript(String) -> Any?`](/documentation/Network/NWProtocolFramer/Options/subscript(_:))

## Relationships

### Inherits From

[`NWProtocolOptions`](/documentation/Network/NWProtocolOptions)

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)