HttpRequest

case class HttpRequest(method: Method, url: Url, majorVersion: Int, minorVersion: Int, headers: Headers, body: BodyReader)

Standard HTTP request

Value parameters:
body

function which returns the next chunk of the request body. Termination is signaled by an empty ByteBuffer as determined by ByteBuffer.hasRemaining().

headers

request headers

method

HTTP request method

url

request url

Source:
HttpRequest.scala
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

A String representation of this request that includes the headers

A String representation of this request that includes the headers

Note:

it is generally a security flaw to log headers as they may contain sensitive user data. As such, this method should be used sparingly and almost never in a production environment.

Source:
HttpRequest.scala
override def toString: String
Definition Classes
Any
Source:
HttpRequest.scala

Inherited methods

Inherited from:
Product