---
title: "xpc_session_send_message_with_reply_async(_:_:_:)"
framework: xpc
role: symbol
role_heading: Function
path: "xpc/xpc_session_send_message_with_reply_async(_:_:_:)"
---

# xpc_session_send_message_with_reply_async(_:_:_:)

## Declaration

```swift
func xpc_session_send_message_with_reply_async(_ session: any OS_xpc_object, _ message: xpc_object_t, _ reply_handler: @escaping xpc_session_reply_handler_t)
```

## 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_reply_handler_t](xpc/xpc_session_reply_handler_t-2hf7c.md)
- [xpc_session_send_message_with_reply_sync(_:_:_:)](xpc/xpc_session_send_message_with_reply_sync(_:_:_:).md)
