Opsmaru.Incus.WebSocket (opsmaru_incus v0.1.0)

Copy Markdown View Source

Bounded owner-monitored native WebSocket channel. Messages are pulled, never accumulated in the caller mailbox. Overflow, framing failures and deadlines are visible; local closure never implies backend cancellation.

Summary

Functions

Returns a specification to start this module under a supervisor.

Native DoWebsocket handshake metadata while the local channel is alive.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

close(channel)

open(client, path, opts \\ [])

recv(channel, timeout \\ 5000)

send_frame(channel, frame)

upgrade_response(channel)

Native DoWebsocket handshake metadata while the local channel is alive.