1 unstable release

0.1.12 Aug 8, 2024

#118 in WebSocket

29 downloads per month
Used in volt-client-rs

MIT license

52KB
1K SLoC

volt-ws-protocol

This crate provides a Rust implementation of the Volt Websocket Protocol.

The library is used by the volt-client-rs library to communicate with the Volt API in Rust applications, by volt-ws-protocol-component to communicate with the Volt API via webassembly components (for example, using wasmtime from python applications), and by volt-ws-protocol-web to communicate with the Volt API via websockets in web applications.

build

cargo build

usage

It is unlikely that you will need to use this library directly, refer to the following projects:

  • volt-client-rs for accessing the Volt API from Rust applications.
  • volt-client-web for accessing the Volt API from javascript web applications.
  • volt-client-grpc for accessing the Volt API from javascript nodejs applications using gRPC.
  • volt_client_py for accessing the Volt API from python applications.

Dependencies

~4–6MB
~120K SLoC