ahp-ws
WebSocket transport for the Agent Host Protocol (AHP) Rust SDK.
Implements ahp::Transport using tokio-tungstenite, supporting both ws:// and wss:// (TLS via native-tls).
Usage
[]
= "0.1"
= "0.1"
= { = "1", = ["full"] }
use ;
use WebSocketTransport;
async
API
WebSocketTransport::connect(url)— open a new connectionWebSocketTransport::from_stream(stream)— wrap an existingtokio-tungstenitestream for custom TLS or connection options
See also
ahp— the main client crateahp-types— wire types only- Protocol documentation