Skip to main content

register

Function register 

Source
pub async fn register(
    url: &str,
    identity: &Identity,
    username: &str,
    machine: &str,
    session: &str,
) -> Res<SessionPath>
Expand description

Claims a username + enrolls this machine on url, returning the resolved session path.

ยงErrors

Returns an error if the connection, handshake, or registration is rejected.