request

abstract suspend fun request(route: OriginalRoute, preConfiguredQueries: Map<String, String>, preConfiguredHeaders: Map<String, String>, preConfiguredBody: JsonObject?): OriginalResponse

Makes a request to the middleware server.

Return

The response from the middleware server.

Parameters

route

The route to request.

preConfiguredQueries

The pre-configured queries to include in the request.

preConfiguredHeaders

The pre-configured headers to include in the request.

preConfiguredBody

The pre-configured body to include in the request.