List of HTTP headers of the request.
HTTP method of the request.
URL on which the request will be performed.
Returns the value of this instance's content type preferences.
Notifies the remote server about response content type preferences.
Notifies the remote server about response content type preferences.
This maps to the Accept header.
list of media types to declare.
Returns the value of this instance's charset preferences.
Notifies the remote server about response charset preferences.
Notifies the remote server about response charset preferences.
This maps to the Accept-Charset header.
list of charsets to declare.
Notifies the remote server that we accept deflated responses.
Returns the value of this instance's encoding header.
Notifies the remote server about transfer encoding preferences.
Notifies the remote server about transfer encoding preferences.
This maps to the Accept-Encoding header.
list of encodings to declare.
Notifies the remote server that we accept GZIPed responses.
Returns the value of this instance's language preferences.
Notifies the remote server about response language preferences.
Notifies the remote server about response language preferences.
This maps to the Accept-Language header.
list of languages to declare.
Returns the value of the specified header.
Sets the value of the specified header.
Sets the value of the specified header.
This method expects an appropriate implicit ValueWriter to be in scope. Standard formats are declared in Headers.
Represents an HTTP request.
Instances are created through the companion object. Once an instance is obtained, the request can be configured through "raw" modification methods (method, headers...) as well as specialised helpers such as GET, acceptGzip or /.