userver: ugrpc::server Namespace Reference
Loading...
Searching...
No Matches
ugrpc::server Namespace Reference

Detailed Description

Server-side utilities.

Classes

class  BaseError
 Base exception for all the server errors. More...
 
class  BidirectionalStream
 Controls a request stream -> response stream RPC. More...
 
class  CallAnyBase
 A non-typed base class for any gRPC call. More...
 
class  GenericServiceBase
 Allows to handle RPCs with dynamic method names. More...
 
class  InputStream
 Controls a request stream -> single response RPC. More...
 
class  MiddlewareBase
 Base class for server gRPC middleware. More...
 
class  MiddlewareCallContext
 Context for middleware-specific data during gRPC call. More...
 
class  MiddlewareComponentBase
 Base class for middleware component. More...
 
class  OutputStream
 Controls a single request -> response stream RPC. More...
 
class  RpcError
 Error during an RPC. More...
 
class  RpcInterruptedError
 RPC failed without a status. This means that either the call got cancelled using TryCancel, the deadline has expired, or the client disconnected. More...
 
class  Server
 Manages the gRPC server. More...
 
class  ServerComponent
 Component that configures and manages the gRPC server. More...
 
struct  ServerConfig
 Settings relating to the whole gRPC server. More...
 
class  ServiceBase
 The type-erased base class for all gRPC service implementations. More...
 
class  ServiceComponentBase
 Base class for all the gRPC service components. More...
 
struct  ServiceConfig
 Per-service settings. More...
 
struct  StorageContext
 AnyStorage tag for gRPC call context. More...
 
class  UnaryCall
 Controls a single request -> single response RPC. More...
 

Typedefs

using Middlewares = std::vector<std::shared_ptr<MiddlewareBase>>
 A chain of middlewares.
 

Enumerations

enum class  CallKind {
  kUnaryCall ,
  kRequestStream ,
  kResponseStream ,
  kBidirectionalStream
}
 RPCs kinds. More...
 

Typedef Documentation

◆ Middlewares

using ugrpc::server::Middlewares = std::vector<std::shared_ptr<MiddlewareBase>>

A chain of middlewares.

Definition at line 18 of file fwd.hpp.

Enumeration Type Documentation

◆ CallKind

enum class ugrpc::server::CallKind
strong

RPCs kinds.

Definition at line 35 of file rpc.hpp.