GRPC C++  1.80.0
Functions
credentials_cpp.h File Reference
#include <grpc/credentials.h>
#include <grpc/support/port_platform.h>
#include <optional>
#include <string>

Go to the source code of this file.

Functions

void grpc_tls_credentials_options_set_sni_override (grpc_tls_credentials_options *options, std::optional< std::string > sni_override)
 EXPERIMENTAL API - Subject to change. More...
 

Function Documentation

◆ grpc_tls_credentials_options_set_sni_override()

void grpc_tls_credentials_options_set_sni_override ( grpc_tls_credentials_options options,
std::optional< std::string >  sni_override 
)

EXPERIMENTAL API - Subject to change.

Overrides the SNI that the client sends in the TLS handshake. nullopt indicates that SNI should not be overridden. An empty string value indicates that SNI should not be sent at all.