userver: userver/ugrpc/status_codes.hpp File Reference
Loading...
Searching...
No Matches
status_codes.hpp File Reference

Detailed Description

Utilities for grpc::StatusCode.

Definition in file status_codes.hpp.

Go to the source code of this file.

#include <grpcpp/support/status.h>
+ Include dependency graph for status_codes.hpp:

Namespaces

namespace  ugrpc
 Asynchronous gRPC driver.
 

Functions

grpc::StatusCode ugrpc::StatusCodeFromString (std::string_view str)
 Convert string to grpc::StatusCode.
 
std::string_view ugrpc::ToString (grpc::StatusCode code) noexcept
 Convert grpc::StatusCode to string.