Home

port_http_client / com.hexagonkt.http.client / Request

Request

data class Request

HTTP request send to the server.

Constructors

Name Summary
<init> Request(method: Method, path:String, body:Any? = null, headers:Map<String,List<String>> = emptyMap(), pathParameters:Map<String,List<String>> = emptyMap(), formParameters:Map<String,List<String>> = emptyMap(), parts:Map<String, Part> = emptyMap(), contentType:String? = null)
HTTP request send to the server.Request(method: Method, path: Path, body:Any? = null, headers:Map<String,List<String>> = emptyMap(), pathParameters:Map<String,List<String>> = emptyMap(), formParameters:Map<String,List<String>> = emptyMap(), parts:Map<String, Part> = emptyMap(), contentType:String? = null)

Properties

Name Summary
body val body:Any?
contentType val contentType:String?
formParameters val formParameters:Map<String,List<String>>
headers val headers:Map<String,List<String>>
method val method: Method
parts val parts:Map<String, Part>
path val path: Path
pathParameters val pathParameters:Map<String,List<String>>