Record - grpc : GrpcServiceConfig

Service configuration. Sets only for client and bidirectional streaming service.

Fields

  • name string
  • Resource name. This applies only for client streaming and bidirectional streaming where we can define only one resource. In order to generate proto file, service resource name need to pass as annotation parameter.

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

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

  • clientStreaming boolean false
  • Client streaming flag. This applies only for client streaming and bidirectional streaming. Flag sets to true, if the service defines as client/bidirectional streaming.

  • serverStreaming boolean false
  • Server streaming flag. This applies only for bidirectional streaming. Flag sets to true, if the service defines as bidirectional streaming.