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

# nw_framer_prepend_application_protocol(_:_:)

Dynamically adds another protocol that will run above your protocol after your protocol calls nw_framer_mark_ready(_:).

## Declaration

```swift
func nw_framer_prepend_application_protocol(_ framer: nw_framer_t, _ protocol_options: nw_protocol_options_t) -> Bool
```

## See Also

### Managing Instance Lifetime

- [nw_framer_mark_ready(_:)](network/nw_framer_mark_ready(_:).md)
- [nw_framer_mark_failed_with_error(_:_:)](network/nw_framer_mark_failed_with_error(_:_:).md)
- [nw_framer_set_stop_handler(_:_:)](network/nw_framer_set_stop_handler(_:_:).md)
- [nw_framer_stop_handler_t](network/nw_framer_stop_handler_t.md)
- [nw_framer_set_cleanup_handler(_:_:)](network/nw_framer_set_cleanup_handler(_:_:).md)
- [nw_framer_cleanup_handler_t](network/nw_framer_cleanup_handler_t.md)
