summaryrefslogtreecommitdiff
path: root/doc/docstrings/pycurl_global_init.rst
blob: bef09d8a356015a59815a615b063897671ef01b2 (plain)
1
2
3
4
5
6
7
8
9
10
global_init(option) -> None

Initialize curl environment.

*option* is one of the constants pycurl.GLOBAL_SSL, pycurl.GLOBAL_WIN32,
pycurl.GLOBAL_ALL, pycurl.GLOBAL_NOTHING, pycurl.GLOBAL_DEFAULT.

Corresponds to `curl_global_init`_ in libcurl.

.. _curl_global_init: https://curl.haxx.se/libcurl/c/curl_global_init.html