Skip to content

Commit

Permalink
http_client: docs for netinterface parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Jan 17, 2020
1 parent b384a99 commit 9b9bd62
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/modules/http_client/doc/http_client_admin.xml
Expand Up @@ -659,6 +659,28 @@ http_follow_redirect = no
</example>

</section>
<section id="http_client.p.netinterface">
<title><varname>netinterface</varname> (string)</title>
<para>
Set local network interface to be used for HTTP queries. It
can be interface name or IP address. For more details see:
https://curl.haxx.se/libcurl/c/CURLOPT_INTERFACE.html .
</para>
<para>
<emphasis>
Default value not set.
</emphasis>
</para>
<example>
<title>Set <varname>netinterface</varname> parameter</title>
<programlisting format="linespecific">
...
modparam("http_client", "netinterface", "eth0")
...
</programlisting>
</example>
</section>

</section>

<section>
Expand Down

0 comments on commit 9b9bd62

Please sign in to comment.