secure_channel_arguments.cc
Go to the documentation of this file.
1 /*
2  *
3  * Copyright 2015 gRPC authors.
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  */
18 
19 #include <memory>
20 #include <string>
21 #include <vector>
22 
25 #include <grpcpp/support/config.h>
26 
27 namespace grpc {
28 
31 }
32 
34  for (unsigned int i = 0; i < args_.size(); i++) {
36  return args_[i].value.string;
37  }
38  }
39  return "";
40 }
41 
42 } // namespace grpc
grpc
Definition: grpcpp/alarm.h:33
grpc::ChannelArguments::SetString
void SetString(const std::string &key, const std::string &value)
Set a textual argument value under key.
Definition: channel_arguments.cc:203
testing::internal::string
::std::string string
Definition: bloaty/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:881
grpc::ChannelArguments::GetSslTargetNameOverride
std::string GetSslTargetNameOverride() const
Definition: secure_channel_arguments.cc:33
setup.name
name
Definition: setup.py:542
grpc_types.h
grpc::ChannelArguments::args_
std::vector< grpc_arg > args_
Definition: grpcpp/support/channel_arguments.h:140
channel_arguments.h
GRPC_SSL_TARGET_NAME_OVERRIDE_ARG
#define GRPC_SSL_TARGET_NAME_OVERRIDE_ARG
Definition: grpc_types.h:278
config.h
key
const char * key
Definition: hpack_parser_table.cc:164
grpc::ChannelArguments::SetSslTargetNameOverride
void SetSslTargetNameOverride(const std::string &name)
Definition: secure_channel_arguments.cc:29
i
uint64_t i
Definition: abseil-cpp/absl/container/btree_benchmark.cc:230


grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:01:15