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 | CallContext |
gRPC call context More... | |
class | GenericCallContext |
generic gRPC call context 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 | Reader |
Interface to read client's requests. More... | |
class | ReaderWriter |
Interface to both read and write messages. More... | |
class | Result |
Result type for service handlers (non server-streaming) 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 | StreamingResult |
Special result type for server-streaming service handlers. More... | |
struct | TlsConfig |
class | UnaryCall |
Controls a single request -> single response RPC. More... | |
class | Writer |
Interface to write server's responses. 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... | |
Functions | |
auto | GetRepeatedMetadata (ugrpc::server::CallAnyBase &call, std::string_view field_name) |
Returns an std::input_range containing std::string_view which are non-owning references to the values of the metadata field. The references must not outlive the call object to avoid undefined behavior. | |
using ugrpc::server::Middlewares = std::vector<std::shared_ptr<MiddlewareBase>> |
|
strong |
|
inline |
Returns an std::input_range containing std::string_view which are non-owning references to the values of the metadata field. The references must not outlive the call object to avoid undefined behavior.
Definition at line 25 of file metadata_utils.hpp.