Record - grpc : GrpcServiceConfig

Service configuration.

Fields

  • name string
  • Service name. This applies only for the dynamic service registration.

  • requestType typedesc
  • Request message type of the resource. This is an optional field. If it is not specified, the request type is derived from the input argument of the resource

  • responseType typedesc
  • Response message type of the resource. This is an optional field. If it is not specified, the response type is derived from the value passed to the send() expression

  • clientStreaming boolean (default false)
  • Client streaming flag. This applies only for client streaming and bidirectional streaming. The flag should be set to true if the service is defined as client/bidirectional streaming

  • serverStreaming boolean (default false)
  • Server streaming flag. This applies only for bidirectional streaming. The flag should be set to true if the service is defined as bidirectional streaming