Your opinion will help to improve our service
Leave a feedback >#include <userver/ugrpc/server/stream.hpp>
Interface to write server's responses.
This class is not thread-safe.
If any method throws, further methods must not be called on the same stream.
Definition at line 35 of file stream.hpp.
Public Member Functions | |
virtual void | Write (Response &response)=0 |
Write the next outgoing message. | |
virtual void | Write (Response &&response)=0 |
Write the next outgoing message. | |
|
pure virtual |
Write the next outgoing message.
response | the next message to write |
ugrpc::server::RpcError | on an RPC error |
std::exception | (internal) on error from middlewares |
|
pure virtual |
Write the next outgoing message.
response | the next message to write |
ugrpc::server::RpcError | on an RPC error |
std::exception | (internal) on error from middlewares |