---
title: "nw_framer_create_options(_:)"
framework: network
role: symbol
role_heading: Function
path: "network/nw_framer_create_options(_:)"
---

# nw_framer_create_options(_:)

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

## Declaration

```swift
func nw_framer_create_options(_ framer_definition: nw_protocol_definition_t) -> nw_protocol_options_t
```

## See Also

### Adding Framers to Connections

- [nw_framer_create_definition(_:_:_:)](network/nw_framer_create_definition(_:_:_:).md)
- [nw_framer_start_handler_t](network/nw_framer_start_handler_t.md)
- [nw_framer_t](network/nw_framer_t.md)
- [nw_framer_start_result_t](network/nw_framer_start_result_t.md)
- [NW_FRAMER_CREATE_FLAGS_DEFAULT](network/nw_framer_create_flags_default.md)
