You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
serviceHelloService {
// Unary RPC. This is most common and familiar "request-response" scheme.rpcSayHello(HelloRequest) returns (HelloResponse);
// Server streaming RPC. Client emit single request and receive sequence// of messages from server. This is useful for "server push" notifications.//// Example: chat service in which client subscribes to some room and// eventually receive chat messages from there.//// Example 2: client subscribes for market stock quotes and receives price// updates on interested shares.rpcLotsOfReplies(HelloRequest) returns (streamHelloResponse);
// Client streaming RPC. Client send to to server sequence of messages.//// Example: client send log events which server collects in memory. Once// required number of messages have been collected, server flush them into// database using single effective bulk operation.rpcLotsOfGreetings(streamHelloRequest) returns (HelloResponse);
// Bidirectional streaming RPC. Combination of previous two.rpcBidiHello(streamHelloRequest) returns (streamHelloResponse);
}
Currently roadrunner supports just unary one. If there was streams in proto definition, they turns into unary in the generated interface:
Plugin
GRPC
I have an idea!
In GRPC there are four kinds of service methods:
Currently roadrunner supports just unary one. If there was streams in proto definition, they turns into unary in the generated interface:
Reveal HelloServiceInterface
Requested functionality is very similar to one offered by centrifugo.
I also found #923, but that seems about streaming large body of single request or response. Not about RPC streams.
The text was updated successfully, but these errors were encountered: