#include <userver/ugrpc/server/result.hpp>
Special result type for server-streaming service handlers.
Definition at line 61 of file result.hpp.
Public Member Functions | |
StreamingResult (grpc::Status &&status) | |
Construct instance from grpc::Status. | |
StreamingResult (const grpc::Status &status) | |
Construct instance from grpc::Status. | |
StreamingResult (Response &&last_response) | |
|
inline |
Construct instance from grpc::Status.
Definition at line 64 of file result.hpp.
|
inline |
Construct instance from grpc::Status.
Definition at line 67 of file result.hpp.
|
inline |
Construct instance with last response
Allows perform writing last response and coalesce it with status in a single step.
Definition at line 73 of file result.hpp.