http_proxy.h
Go to the documentation of this file.
1 /*
2  *
3  * Copyright 2016 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 #ifndef GRPC_CORE_EXT_FILTERS_CLIENT_CHANNEL_HTTP_PROXY_H
20 #define GRPC_CORE_EXT_FILTERS_CLIENT_CHANNEL_HTTP_PROXY_H
21 
23 
25 
28 
29 namespace grpc_core {
30 
32  public:
33  bool MapName(const char* server_uri, const grpc_channel_args* args,
34  char** name_to_resolve, grpc_channel_args** new_args) override;
35 
36  bool MapAddress(const grpc_resolved_address& /*address*/,
37  const grpc_channel_args* /*args*/,
38  grpc_resolved_address** /*new_address*/,
39  grpc_channel_args** /*new_args*/) override {
40  return false;
41  }
42 };
43 
45 
46 } // namespace grpc_core
47 
48 #endif /* GRPC_CORE_EXT_FILTERS_CLIENT_CHANNEL_HTTP_PROXY_H */
grpc_core::HttpProxyMapper::MapName
bool MapName(const char *server_uri, const grpc_channel_args *args, char **name_to_resolve, grpc_channel_args **new_args) override
Definition: http_proxy.cc:132
grpc_core
Definition: call_metric_recorder.h:31
grpc_resolved_address
Definition: resolved_address.h:34
run_xds_tests.server_uri
string server_uri
Definition: run_xds_tests.py:3320
resolved_address.h
grpc_core::HttpProxyMapper::MapAddress
bool MapAddress(const grpc_resolved_address &, const grpc_channel_args *, grpc_resolved_address **, grpc_channel_args **) override
Definition: http_proxy.h:36
grpc_channel_args
Definition: grpc_types.h:132
grpc_types.h
proxy_mapper.h
asyncio_get_stats.args
args
Definition: asyncio_get_stats.py:40
grpc_core::HttpProxyMapper
Definition: http_proxy.h:31
grpc_core::ProxyMapperInterface
Definition: proxy_mapper.h:30
grpc_core::RegisterHttpProxyMapper
void RegisterHttpProxyMapper()
Definition: http_proxy.cc:214
port_platform.h


grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:00:14