File: curl_pause.rst

package info (click to toggle)
pycurl 7.45.7-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,780 kB
  • sloc: python: 8,663; ansic: 6,891; makefile: 202; sh: 183
file content (12 lines) | stat: -rw-r--r-- 398 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
pause(bitmask) -> None

Pause or unpause a curl handle. Bitmask should be a value such as
PAUSE_RECV or PAUSE_CONT.

Corresponds to `curl_easy_pause`_ in libcurl. The argument should be
derived from the ``PAUSE_RECV``, ``PAUSE_SEND``, ``PAUSE_ALL`` and
``PAUSE_CONT`` constants.

Raises pycurl.error exception upon failure.

.. _curl_easy_pause: https://curl.haxx.se/libcurl/c/curl_easy_pause.html