---
title: "prependApplicationProtocol(options:)"
framework: network
role: symbol
role_heading: Instance Method
path: "network/nwprotocolframer/instance/prependapplicationprotocol(options:)"
---

# prependApplicationProtocol(options:)

Dynamically adds another protocol that will run above your protocol after your protocol calls markReady().

## Declaration

```swift
final func prependApplicationProtocol(options: NWProtocolOptions) throws
```

## See Also

### Managing Instance Lifetime

- [markReady()](network/nwprotocolframer/instance/markready().md)
- [markFailed(error:)](network/nwprotocolframer/instance/markfailed(error:).md)
