Set Inbound Handler • AI Agent SDK

set_inbound_handler: Register the coroutine invoked for each relayed inbound message.

set_inbound_handler

Method

</div>

This is a method of the RelayTransport class in the protocols module.

Register the coroutine invoked for each relayed inbound message.

Signature

python
def set_inbound_handler(handler: Callable[['GatewayMessage'], Awaitable[None]]) -> None

Parameters

ParamField Callable

No description available.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 6672