Expand description
Non-panicking OWP client for the hot path.
Functionsยง
- connect ๐Opens a WebSocket to
urlwithSec-WebSocket-Protocol: owp. - expect_
ok ๐ - handshake ๐INIT 1.0 / schema
002.5.0, then expects+OK(when verbose) andINFO. - recv_op ๐Next server opcode, answering WebSocket pings.
- recv_
text ๐Next text frame, answering WebSocket pings. - send_
text ๐Sends one OWP text frame. - subscribe ๐
SUBand, when the server is verbose, the following+OK.
Type Aliasesยง
- OwpWs ๐Client WebSocket after the
owpsubprotocol handshake.