MCPcopy Create free account
hub / github.com/apache/arrow / ForGrpcTcp

Method ForGrpcTcp

cpp/src/arrow/flight/types.cc:746–750  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

744}
745
746arrow::Result<Location> Location::ForGrpcTcp(const std::string& host, const int port) {
747 std::stringstream uri_string;
748 uri_string << "grpc+tcp://" << host << ':' << port;
749 return Location::Parse(uri_string.str());
750}
751
752arrow::Result<Location> Location::ForGrpcTls(const std::string& host, const int port) {
753 std::stringstream uri_string;

Callers

nothing calls this directly

Calls 2

strMethod · 0.80
ParseFunction · 0.50

Tested by

no test coverage detected