diff options
author | 2017-06-06 19:36:35 -0700 | |
---|---|---|
committer | 2017-06-06 19:36:35 -0700 | |
commit | c7586a5d32cd07b0151df020e8982f127514b496 (patch) | |
tree | 2ca83e5e2a77df411204a1f1ef775cc90bb95c1e /include/grpc++/server_builder.h | |
parent | 2b96949d3d07f5a3a4c3fb5be7f597da63a28c13 (diff) | |
parent | de15a40fc3c7d1cac320ed19d27a3378e5be7c4f (diff) |
Merge branch 'master' of https://github.com/grpc/grpc into faster-bm-diff
Diffstat (limited to 'include/grpc++/server_builder.h')
-rw-r--r-- | include/grpc++/server_builder.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/grpc++/server_builder.h b/include/grpc++/server_builder.h index f8b6d03e35..2843b51814 100644 --- a/include/grpc++/server_builder.h +++ b/include/grpc++/server_builder.h @@ -150,15 +150,16 @@ class ServerBuilder { /// /// It can be invoked multiple times. /// - /// \param addr The address to try to bind to the server (eg, localhost:1234, - /// 192.168.1.1:31416, [::1]:27182, etc.). + /// \param addr_uri The address to try to bind to the server in URI form. If + /// the scheme name is omitted, "dns:///" is assumed. Valid values include + /// dns:///localhost:1234, / 192.168.1.1:31416, dns:///[::1]:27182, etc.). /// \params creds The credentials associated with the server. /// \param selected_port[out] If not `nullptr`, gets populated with the port /// number bound to the \a grpc::Server for the corresponding endpoint after /// it is successfully bound, 0 otherwise. /// // TODO(dgq): the "port" part seems to be a misnomer. - ServerBuilder& AddListeningPort(const grpc::string& addr, + ServerBuilder& AddListeningPort(const grpc::string& addr_uri, std::shared_ptr<ServerCredentials> creds, int* selected_port = nullptr); |