| 0.1.4 |
|
|---|---|
| 0.1.3 |
|
| 0.1.1 |
|
| 0.1.0-dev-8 |
|
| 0.1.0-dev-6 |
|
#782 in #websocket
37 downloads per month
Used in basws
27KB
580 lines
basws-client
basws-client is a simple WebSocket framework. For more information, see the basws README.
To set up your own protocol client:
- Implement the
ClientLogictrait - Create a
Clientpassing in yourClientLogicimplementor - Spawn the client by either
client.run().awaitorclient.spawn() - You can clone the client and pass it around in your application as needed
For a full example, check out the chat-client example.
Dependencies
~10–18MB
~339K SLoC