Search…
⌃K
README
How to read this book
The cURL project
Network and protocols
Install curl
Source code
Build curl
Command line basics
Using curl
HTTP with curl
FTP with curl
Using libcurl
Header files
Easy handle
Drive transfers
Connection reuse
Callbacks
Write data
Read data
Progress information
Header data
Debug
sockopt
SSL context
Seek and ioctl
Network data conversion
Opensocket and closesocket
SSH key
RTSP interleaved data
FTP wildcard matching
Resolver start
Sending trailers
HSTS
Prereq
Cleanup
Name resolving
Proxies
Post transfer info
Share data between handles
URL API
WebSocket
API compatibility
--libcurl
Global initialization
multi-threading
curl easy options
CURLcode return codes
Verbose operations
Caches
libcurl examples
for C++ programmers
HTTP with libcurl
Bindings
libcurl internals
Index
Powered By GitBook

Prereq

"Prereq" here means immediately before the request is issued. That's the moment where this callback is called.
Set the function with CURLOPT_PREREQFUNCTION and it will be called and pass on IP address and port numbers in the arguments. This allows the application to know about the transfer just before it starts and also allows it to cancel this particular transfer should it want to.
Previous
HSTS
Next
Cleanup
Last modified 1yr ago
Export as PDF
Copy link
Edit on GitHub