matrixEndpoint
inline fun <ENDPOINT : MatrixEndpoint<REQUEST, RESPONSE>, REQUEST, RESPONSE> Route.matrixEndpoint(json: Json, mappings: EventContentSerializerMappings, crossinline handler: suspend MatrixEndpointContext<ENDPOINT, REQUEST, RESPONSE>.() -> RESPONSE): Route
inline fun <ENDPOINT : MatrixEndpoint<Unit, Unit>> Route.matrixEndpoint(json: Json, mappings: EventContentSerializerMappings, crossinline handler: suspend MatrixEndpointContext<ENDPOINT, Unit, Unit>.() -> Unit): Route
inline fun <ENDPOINT : MatrixEndpoint<REQUEST, Unit>, REQUEST> Route.matrixEndpoint(json: Json, mappings: EventContentSerializerMappings, crossinline handler: suspend MatrixEndpointContext<ENDPOINT, REQUEST, Unit>.() -> Unit): Route
inline fun <ENDPOINT : MatrixEndpoint<Unit, RESPONSE>, RESPONSE> Route.matrixEndpoint(json: Json, mappings: EventContentSerializerMappings, crossinline handler: suspend MatrixEndpointContext<ENDPOINT, Unit, RESPONSE>.() -> RESPONSE): Route