Session
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
- Value parameters:
- auth
HTTP authentication you want to use with this request; defaults to none
- connectTimeout
How long to wait for a connection before timing out
- cookies
Custom cookies to send up with this request
- headers
Custom headers to use, in addition to the defaults
- maxRedirects
How many redirects to automatically resolve; defaults to 5. You can also set it to 0 to prevent Requests from resolving redirects for you
- proxy
Host and port of a proxy you want to use
- readTimeout
How long to wait for data to be read before timing out
- verifySslCerts
Set this to false to ignore problems with SSL certificates