---
title: nw_framer_stop_handler_t
framework: network
role: symbol
role_heading: Type Alias
path: network/nw_framer_stop_handler_t
---

# nw_framer_stop_handler_t

A handler that requests that your protocol send any final messages to close the connection.

## Declaration

```swift
typealias nw_framer_stop_handler_t = (nw_framer_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_prepend_application_protocol(_:_:)](network/nw_framer_prepend_application_protocol(_:_:).md)
- [nw_framer_set_stop_handler(_:_:)](network/nw_framer_set_stop_handler(_:_:).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)
