HttpRequest
case class HttpRequest(method: Method, url: Url, majorVersion: Int, minorVersion: Int, headers: Headers, body: BodyReader)
Standard HTTP request
- Value Params
- body
function which returns the next chunk of the request body. Termination is signaled by an empty
ByteBuffer
as determined byByteBuffer.hasRemaining()
.- headers
request headers
- method
HTTP request method
- url
request url
trait Serializable
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.