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
def set_inbound_handler(handler: Callable[['GatewayMessage'], Awaitable[None]]) -> NoneParameters
ParamField
CallableNo description available.
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 6672