JsonRequest

class JsonRequest<B : Any, R>(val route: Route<R>, val routeParams: Map<Route.Key, String>, val parameters: StringValues, val headers: StringValues, val body: RequestBody<B>?, baseUrl: String = Route.baseUrl) : Request<B, R> (source)

Constructors

Link copied to clipboard
constructor(route: Route<R>, routeParams: Map<Route.Key, String>, parameters: StringValues, headers: StringValues, body: RequestBody<B>?, baseUrl: String = Route.baseUrl)

Properties

Link copied to clipboard
Link copied to clipboard
open override val body: RequestBody<B>?
Link copied to clipboard
open override val files: List<NamedFile>? = null
Link copied to clipboard
open override val headers: StringValues
Link copied to clipboard
Link copied to clipboard
open override val parameters: StringValues
Link copied to clipboard
Link copied to clipboard
open override val route: Route<R>
Link copied to clipboard
open override val routeParams: Map<Route.Key, String>

Functions

Link copied to clipboard
fun Request<*, *>.logString(body: String): String