This option allows the user to specify a function that is registered with libcurl as the CURLOPT_SSL_CTX_FUNCTION.
Type Aliases
OpenTelemetryTracingOption
Alias Of: ::google::cloud::OpenTelemetryTracingOption
SslCtxCallback
Alias Of: std::function< int(void *, void *ssl_ctx, void *)>
Function signature for the libcurl SSL context callback.
This signature matches the prototype declared by libcurl, but its invocation is wrapped by the Cloud C++ SDK. This is a precaution to prevent the CURL handle from being altered in ways that would cause the SDK to malfunction.
The callback should return CURLE_OK on success and CURLE_ABORTED_BY_CALLBACK on error.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-07 UTC."],[],[]]