Configuration

Configuration keys for the Solar_Http_Request_Adapter_Stream class.

charset

  • (string) The default character set.

  • Default: 'utf-8'

content_type

  • (string) The default content-type.

  • Default: null

max_redirects

  • (int) Follow no more than this many redirects.

  • Default: null

proxy

  • (string) Pass all requests through this proxy server.

  • Default: null

timeout

  • (int) Allowed connection timeout in seconds.

  • Default: null

user_agent

  • (string) The default User-Agent string.

  • Default: null

version

  • (string) The default HTTP version to use.

  • Default: '1.1'

ssl_cafile

  • (string) The local Certificate Authority file.

  • Default: null

ssl_capath

  • (string) If the CA file is not found, look in this directory for suitable CA files.

  • Default: null

ssl_local_cert

  • (string) The local certificate file.

  • Default: null

ssl_passphrase

  • (string) Passphrase to open the certificate file.

  • Default: null

ssl_verify_peer

  • (bool) Whether or not to verify the peer SSL certificate.

  • Default: null

auto_set_length

  • (bool) Whether or not to automatically set the Content-Length header.

  • Default: true



Local