Click or drag to resize
Server Class
gRPC server. A single server can server arbitrary number of services and can listen on more than one ports.
Inheritance Hierarchy
SystemObject
  Grpc.CoreServer

Namespace: Grpc.Core
Assembly: Grpc.Core (in Grpc.Core.dll) Version: 0.6.1.0
Syntax
public class Server

The Server type exposes the following members.

Constructors
  NameDescription
Public methodServer
Create a new server.
Top
Properties
  NameDescription
Public propertyPorts
Ports on which the server will listen once started. Register a port with this server by adding its definition to this collection.
Public propertyServices
Services that will be exported by the server once started. Register a service with this server by adding its definition to this collection.
Public propertyShutdownTask
To allow awaiting termination of the server.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodKillAsync
Requests server shutdown while cancelling all the in-progress calls. The returned task finishes when shutdown procedure is complete.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodShutdownAsync
Requests server shutdown and when there are no more calls being serviced, cleans up used resources. The returned task finishes when shutdown procedure is complete.
Public methodStart
Starts the server.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also