Skip to main content

get_state_events_handler

Function get_state_events_handler 

Source
async fn get_state_events_handler(
    room_server: RoomServerConnection,
    __arg1: AuthenticatedClientRequest<Request>,
) -> Result<ArminiusResponse<Response>, ErrorOf<GetStateEvents>>
Expand description

Handler for GET /_matrix/client/v3/rooms/{roomId}/state (See https://spec.matrix.org/v1.15/client-server-api/#get_matrixclientv3roomsroomidstate).

This endpoint is used to fetch the state of a room.