#include <restincurl.h>

Static Public Member Functions | |
| static void | tlsLOckInit () |
| static void | tlsLockKill () |
Thread support for the TLS layer used by libcurl.
Some TLS libraries require that you supply callback functions to deal with thread synchronization.
See https://curl.haxx.se/libcurl/c/threadsafe.html
You can deal with this yourself, or in the case that RESTinCurl support your TLS library, you can use this class.
Currently supported libraries:
RESTINCURL_WITH_OPENSSL_THREADSThe class is written so that you can use it in your code, and it will only do something when the appropriate define is set.
This class is only available when RESTINCURL_ENABLE_ASYNC is nonzero.
|
inlinestatic |
Enable the built-in support.
|
inlinestatic |
Free up resources used when finished using TLS.