azalea_auth::sessionserver

Function join

Source
pub async fn join(
    access_token: &str,
    public_key: &[u8],
    private_key: &[u8],
    uuid: &Uuid,
    server_id: &str,
) -> Result<(), ClientSessionServerError>
Expand description

Tell Mojang’s servers that you are going to join a multiplayer server, which is required to join online-mode servers. The server ID is an empty string.