---
title: xpc_session_reply_handler_t
framework: xpc
role: symbol
role_heading: Type Alias
path: xpc/xpc_session_reply_handler_t-2hf7c
---

# xpc_session_reply_handler_t

## Declaration

```swift
typealias xpc_session_reply_handler_t = (xpc_object_t?, xpc_rich_error_t?) -> Void
```

## See Also

### Sending messages

- [xpc_rich_error_t](xpc/xpc_rich_error_t.md)
- [xpc_rich_error_can_retry(_:)](xpc/xpc_rich_error_can_retry(_:).md)
- [xpc_rich_error_copy_description(_:)](xpc/xpc_rich_error_copy_description(_:).md)
- [xpc_session_send_message(_:_:)](xpc/xpc_session_send_message(_:_:).md)
- [xpc_session_send_message_with_reply_async(_:_:_:)](xpc/xpc_session_send_message_with_reply_async(_:_:_:).md)
- [xpc_session_send_message_with_reply_sync(_:_:_:)](xpc/xpc_session_send_message_with_reply_sync(_:_:_:).md)
