gRPC C#
gRPC C#
Namespaces
Grpc.Core
ServerServiceDefinition.Builder Class
Builder Methods
AddMethod Method
AddMethod(TRequest, TResponse) Method (Method(TRequest, TResponse), ClientStreamingServerMethod(TRequest, TResponse))
AddMethod(TRequest, TResponse) Method (Method(TRequest, TResponse), DuplexStreamingServerMethod(TRequest, TResponse))
AddMethod(TRequest, TResponse) Method (Method(TRequest, TResponse), ServerStreamingServerMethod(TRequest, TResponse))
AddMethod(TRequest, TResponse) Method (Method(TRequest, TResponse), UnaryServerMethod(TRequest, TResponse))

Builder AddMethod Method

Overload List

| Name | Description
--- | --- | ---
| AddMethod TRequest, TResponse (Method TRequest, TResponse , ClientStreamingServerMethod TRequest, TResponse ) | Adds a definitions for a client streaming method.
| AddMethod TRequest, TResponse (Method TRequest, TResponse , DuplexStreamingServerMethod TRequest, TResponse ) | Adds a definitions for a bidirectional streaming method.
| AddMethod TRequest, TResponse (Method TRequest, TResponse , ServerStreamingServerMethod TRequest, TResponse ) | Adds a definitions for a server streaming method.
| AddMethod TRequest, TResponse (Method TRequest, TResponse , UnaryServerMethod TRequest, TResponse ) | Adds a definitions for a single request - single response method.

Top
See Also

#### Reference

ServerServiceDefinition
Builder Class
Grpc.Core Namespace