Skip to main content

request

AsyncMethod
This is a method of the GatewayRequestChannelProtocol class in the protocols module.
Deliver req to the session’s client and await its reply. Returns the correlated :class:GatewayServerReply, or None when no reply arrives within timeout_s (the request is then cleared from the open set so it is not replayed on a later reconnect).

Signature

Parameters

GatewayServerRequest
required
No description available.

Returns

Optional['GatewayServerReply']
The result of the operation.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 3561