Skip to main content

build_ws_login_at

Function build_ws_login_at 

Source
pub fn build_ws_login_at(
    wallet: &str,
    signer: &PrivateKeySigner,
    now_ms: u64,
) -> Result<WsLogin, AuthError>
Expand description

Builds the WebSocket login body with an injected now_ms reference.

ยงErrors

Returns AuthError::SigningFailed when the underlying secp256k1 signer errors.