Expand description
Server-side helpers for the gateway protocol.
This module provides helpers for the gateway server to send frames to clients.
Functions§
- parse_
client_ frame - Parse a ClientFrame from binary WebSocket message bytes.
- send_
auth_ challenge - Build and send an auth challenge frame.
- send_
auth_ result - Build and send an auth result frame.
- send_
chunk - Build and send a chunk frame.
- send_
error - Build and send an error frame.
- send_
frame - Send a ServerFrame as a binary WebSocket message. Works with any sink that accepts Binary messages.
- send_
hello - Build and send a hello frame.
- send_
info - Build and send an info frame.
- send_
reload_ result - Build and send a reload_result frame.
- send_
response_ done - Build and send a response done frame.
- send_
secrets_ delete_ credential_ result - Build and send a secrets_delete_credential_result frame.
- send_
secrets_ delete_ result - Build and send a secrets_delete_result frame.
- send_
secrets_ get_ result - Build and send a secrets_get_result frame.
- send_
secrets_ has_ totp_ result - Build and send a secrets_has_totp_result frame.
- send_
secrets_ list_ result - Build and send a secrets_list_result frame.
- send_
secrets_ peek_ result - Build and send a secrets_peek_result frame.
- send_
secrets_ remove_ totp_ result - Build and send a secrets_remove_totp_result frame.
- send_
secrets_ set_ disabled_ result - Build and send a secrets_set_disabled_result frame.
- send_
secrets_ set_ policy_ result - Build and send a secrets_set_policy_result frame.
- send_
secrets_ setup_ totp_ result - Build and send a secrets_setup_totp_result frame.
- send_
secrets_ store_ result - Build and send a secrets_store_result frame.
- send_
secrets_ verify_ totp_ result - Build and send a secrets_verify_totp_result frame.
- send_
status - Build and send a status frame.
- send_
stream_ start - Build and send a stream start frame.
- send_
tasks_ update - Build and send a tasks update frame.
- send_
tool_ approval_ request - Build and send a tool approval request frame.
- send_
tool_ call - Build and send a tool call frame.
- send_
tool_ result - Build and send a tool result frame.
- send_
user_ prompt_ request - Build and send a user-prompt request frame (for the
ask_usertool). - send_
vault_ unlocked - Build and send a vault_unlocked frame.