diff options
Diffstat (limited to 'include/grpc++/server_credentials.h')
-rw-r--r-- | include/grpc++/server_credentials.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/grpc++/server_credentials.h b/include/grpc++/server_credentials.h index d540b95e21..bcc335b7d5 100644 --- a/include/grpc++/server_credentials.h +++ b/include/grpc++/server_credentials.h @@ -56,7 +56,8 @@ class ServerCredentials { virtual int AddPortToServer(const grpc::string& addr, grpc_server* server) = 0; - // Has to be called before the server is started. + // This method is not thread-safe and has to be called before the server is + // started. The last call to this function wins. virtual void SetAuthMetadataProcessor( const std::shared_ptr<AuthMetadataProcessor>& processor) = 0; }; |