diff options
author | hcaseyal <hcaseyal@gmail.com> | 2018-06-13 17:58:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-13 17:58:09 -0700 |
commit | 9a2c0a8641d1837185a60436adf9419209f89fbe (patch) | |
tree | cd58a422976dc9d125f22d18d09d7a37ba6f55b5 | |
parent | d43891f36f2d90c6c99515da25a0bce83523f0d8 (diff) | |
parent | 90b4ef5be7b51d67aeebfaf9b7af7edccddc7d3d (diff) |
Merge pull request #15740 from hcaseyal/update_listening_port_documentation
Update AddListeningPort documentation in ServerBuilder
-rw-r--r-- | include/grpcpp/server_builder.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/grpcpp/server_builder.h b/include/grpcpp/server_builder.h index d1454d4b44..a58a59c2d8 100644 --- a/include/grpcpp/server_builder.h +++ b/include/grpcpp/server_builder.h @@ -86,8 +86,8 @@ class ServerBuilder { /// \param 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. - /// + /// it is successfully bound by BuildAndStart(), 0 otherwise. AddListeningPort + /// does not modify this pointer. ServerBuilder& AddListeningPort(const grpc::string& addr_uri, std::shared_ptr<ServerCredentials> creds, int* selected_port = nullptr); |