Package-level declarations
Types
Link copied to clipboard
class MatrixEndpointContext<ENDPOINT : MatrixEndpoint<REQUEST, RESPONSE>, REQUEST, RESPONSE>(val endpoint: ENDPOINT, val requestBody: REQUEST, val call: ApplicationCall)
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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<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
inline fun <ENDPOINT : MatrixEndpoint<Unit, Unit>> Route.matrixEndpoint(json: Json, mappings: EventContentSerializerMappings, crossinline handler: suspend MatrixEndpointContext<ENDPOINT, Unit, Unit>.() -> Unit): Route
Link copied to clipboard
inline fun <ENDPOINT : MatrixEndpoint<*, *>> Route.matrixEndpointResource(crossinline block: suspend RoutingContext.(ENDPOINT) -> Unit): Route