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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-09 UTC."],[],[]]