GRPC C++  1.39.1
Namespaces | Functions
host_port.h File Reference
#include <grpc/support/port_platform.h>
#include <string>
#include "absl/strings/string_view.h"

Go to the source code of this file.

Namespaces

 grpc_core
 Round Robin Policy.
 

Functions

std::string grpc_core::JoinHostPort (absl::string_view host, int port)
 
bool grpc_core::SplitHostPort (absl::string_view name, absl::string_view *host, absl::string_view *port)
 Given a name in the form "host:port" or "[ho:st]:port", split into hostname and port number. More...
 
bool grpc_core::SplitHostPort (absl::string_view name, std::string *host, std::string *port)