Public Member Functions | List of all members
grpc_core::HttpProxyMapper Class Reference

#include <http_proxy.h>

Inheritance diagram for grpc_core::HttpProxyMapper:
Inheritance graph
[legend]

Public Member Functions

bool MapAddress (const grpc_resolved_address &, const grpc_channel_args *, grpc_resolved_address **, grpc_channel_args **) override
 
bool MapName (const char *server_uri, const grpc_channel_args *args, char **name_to_resolve, grpc_channel_args **new_args) override
 
- Public Member Functions inherited from grpc_core::ProxyMapperInterface
virtual ~ProxyMapperInterface ()=default
 

Detailed Description

Definition at line 31 of file http_proxy.h.

Member Function Documentation

◆ MapAddress()

bool grpc_core::HttpProxyMapper::MapAddress ( const grpc_resolved_address address,
const grpc_channel_args args,
grpc_resolved_address **  new_address,
grpc_channel_args **  new_args 
)
inlineoverridevirtual

Determines the proxy address to use to contact address. If no proxy is needed, returns false. Otherwise, sets new_address, optionally sets new_args, and returns true.

Implements grpc_core::ProxyMapperInterface.

Definition at line 36 of file http_proxy.h.

◆ MapName()

bool grpc_core::HttpProxyMapper::MapName ( const char *  server_uri,
const grpc_channel_args args,
char **  name_to_resolve,
grpc_channel_args **  new_args 
)
overridevirtual

Determines the proxy name to resolve for server_uri. If no proxy is needed, returns false. Otherwise, sets name_to_resolve, optionally sets new_args, and returns true.

Implements grpc_core::ProxyMapperInterface.

Definition at line 132 of file http_proxy.cc.


The documentation for this class was generated from the following files:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:36