Mechanisms for compressing the upload stream; supports Gzip and Deflate by default
The equivalent of configuring a Requester.apply or Requester.stream call, but without invoking it.
The equivalent of configuring a Requester.apply or Requester.stream
call, but without invoking it. Useful if you want to further customize it
and make the call later via the overloads of apply
/stream
that take a
Request.
Different ways you can authorize a HTTP request; by default, HTTP Basic auth and Proxy auth are supported
Represents the different things you can upload in the body of a HTTP request.
Represents the different things you can upload in the body of a HTTP
request. By default allows form-encoded key-value pairs, arrays of bytes,
strings, files, and inputstreams. These types can be passed directly to
the data
parameter of Requester.apply and will be wrapped automatically
by the implicit constructors.
Represents a HTTP response
Represents a HTTP response
the URL that the original request was made to
the status code of the response
the status message of the response
the raw headers the server sent back with the response
the response body; may contain HTML, JSON, or binary or textual data
the response of any redirects that were performed before arriving at the current response
Wraps the array of bytes returned in the body of a HTTP response
A long-lived session; this can be used to automatically persist cookies from one request to the next, or to set default configuration that will be shared between requests.
A long-lived session; this can be used to automatically persist cookies from one request to the next, or to set default configuration that will be shared between requests. These configuration flags can all be over-ridden by the parameters on Requester.apply or Requester.stream
Custom headers to use, in addition to the defaults
Custom cookies to send up with this request
HTTP authentication you want to use with this request; defaults to none
Host and port of a proxy you want to use
How many redirects to automatically resolve; defaults to 5. You can also set it to 0 to prevent Requests from resolving redirects for you
How long to wait for data to be read before timing out
How long to wait for a connection before timing out
Set this to false to ignore problems with SSL certificates