gRPC C#
gRPC C#
Namespaces
Grpc.Core
Server.ServerPortCollection Class
ServerPortCollection Methods
Add Method
Add Method (ServerPort)
Add Method (String, Int32, ServerCredentials)

ServerPortCollection Add Method

Overload List

| Name | Description
--- | --- | ---
| Add(ServerPort) | Adds a new port on which server should listen. Only call this before Start(). #### Return Value Type: The port on which server will be listening.
| Add(String, Int32, ServerCredentials) | Adds a new port on which server should listen. #### Return Value Type: The port on which server will be listening.

Top
See Also

#### Reference

Server
ServerPortCollection Class
Grpc.Core Namespace