Class ServerServiceDefinition (2.66.0)

public class ServerServiceDefinition

Stores mapping of methods to server call handlers. Normally, the ServerServiceDefinition objects will be created by the BindService factory method that is part of the autogenerated code for a protocol buffers service definition.

Inheritance

object > ServerServiceDefinition

Namespace

Grpc.Core

Assembly

Grpc.Core.Api.dll

Methods

CreateBuilder()

public static ServerServiceDefinition.Builder CreateBuilder()

Creates a new builder object for ServerServiceDefinition.

Returns
Type Description
ServerServiceDefinitionBuilder

The builder object.