Expand description
Local HTTP callback server for receiving async RAP tool results.
Functionsยง
- bind_
callback_ listener - Bind a TCP listener on localhost with an OS-assigned port.
Returns the listener and the base URL (e.g.
http://127.0.0.1:{port}). - start_
callback_ channel - Start a callback server that collects
RapCallbackvalues into a channel. Returns(base_url, receiver). - start_
callback_ server - Start a callback server that passes each
RapCallbackto the given handler. Returns the base URL that RAP tools should POST results to. - start_
callback_ server_ on - Start the accept loop on a pre-bound listener, dispatching each
RapCallbackto the given handler. Returns the spawned accept-loop task.