-
Notifications
You must be signed in to change notification settings - Fork 191
ibrowse new documentation in progress
cmullaparthi edited this page Aug 31, 2012
·
1 revision
ibrowse is an HTTP client written in Erlang.
Current version : 4.0.0
application:start(ibrowse).
OR
ibrowse:start().
application:stop(ibrowse).
OR
ibrowse:stop().
ibrowse on start up reads configuration from a file called ibrowse.conf
which should be located in $ROOTDIR/lib/ibrowse-VSN/priv/
. The following configuration parameters are supported.
Name | Data type | Default value | Description |
---|---|---|---|
download_dir | string() | The current working directory for the erlang node | The directory within which to save downloaded files. |
max_headers_size | integer() | infinity | The maximum size of response headers which ibrowse should accept. |
inactivity_timeout | integer() - milliseconds | infinity | The amount of time a connection is kept alive while waiting for some activity to happen. If requests are currently in progress, and no data is received on the socket for this period of time, ibrowse will fail all requests pipelined on this connection and return appropriate errors back to the client processes. |
{options,Host,Port} | [ibrowse_option(),...] | [] | Options controlling ibrowse behaviour when communication with a specific web server. `ibrowse_option()` is documented in the table below. |
{options,global} | [ibrowse_option(),...] | [] | Options controlling ibrowse behaviour when communication with web servers where specific options haven't been defined. |
Name | Data type | Description |
---|---|---|
max_sessions | integer() | The maximum number of connections to open towards the specified web server. |
max_pipeline_size | integer() | The maximum number of requests to pipeline on a single connection towards the specified web server. |