Crates.io | basws-client |
lib.rs | basws-client |
version | 0.1.4 |
source | src |
created_at | 2020-09-15 22:06:58.169188 |
updated_at | 2021-02-08 18:34:16.749076 |
description | A simple async WebSocket client/server framework |
homepage | |
repository | https://github.com/khonsulabs/basws |
max_upload_size | |
id | 289244 |
size | 17,621 |
basws-client is a simple WebSocket framework. For more information, see the basws README.
To set up your own protocol client:
ClientLogic
traitClient
passing in your ClientLogic
implementorclient.run().await
or client.spawn()
For a full example, check out the chat-client example.