basws-client 0.1.0-dev-2

A simple async WebSocket client/server framework
Documentation
1
2
3
4
5
6
7
8
9
10
use basws_shared::{protocol::InstallationConfig, Uuid};
use std::fmt::Debug;

#[derive(Debug, Clone)]
pub enum LoginState {
    Disconnected,
    Handshaking { config: Option<InstallationConfig> },
    Connected { installation_id: Uuid },
    Error { message: Option<String> },
}