Record - grpc : GrpcResourceConfig

Service resource configuration. This should be set only for server streaming services.

Fields

  • streaming boolean (default false)
  • Server streaming flag. This flag should be set to true to specify that the resource is capable of sending multiple responses per request.

  • 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 value passed to the send() expression.