Debian Codegraph @

doc/docstrings/curl_pause.rst

raw
1 pause(bitmask=PAUSE_ALL) -> None
2
3 Pause or unpause a curl handle. ``bitmask`` defaults to ``PAUSE_ALL``.
4 Pass a value such as ``PAUSE_RECV``, ``PAUSE_SEND``, or ``PAUSE_CONT`` to
5 override.
6
7 Corresponds to `curl_easy_pause`_ in libcurl. The argument should be
8 derived from the ``PAUSE_RECV``, ``PAUSE_SEND``, ``PAUSE_ALL`` and
9 ``PAUSE_CONT`` constants.
10
11 Raises pycurl.error exception upon failure.
12
13 .. _curl_easy_pause: https://curl.haxx.se/libcurl/c/curl_easy_pause.html