Skip to main content

upload_keys_handler

Function upload_keys_handler 

Source
async fn upload_keys_handler(
    state: State<ServerState>,
    __arg1: AuthenticatedClientRequest<Request>,
) -> Result<ArminiusResponse<Response>, UserKeysError>
Expand description

Handler for POST /_matrix/client/v3/keys/upload (See https://spec.matrix.org/latest/client-server-api/#post_matrixclientv3keysupload).

Endpoint used by users to upload keys.