userver: grpc_protovalidate::client Namespace Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
grpc_protovalidate::client Namespace Reference

Detailed Description

Client middleware that validates gRPC response constraints specified with the protovalidate options in the proto files.

Classes

class  Middleware
 
class  ResponseError
 RPC failed due to violations in the response protovalidate constraints. More...
 
struct  Settings
 
struct  ValidationSettings
 
class  ValidatorComponent
 Component for gRPC client response validation. More...
 
class  ValidatorError
 RPC failed due to validator internal errors. In most cases the reason this exception is thrown is protovalidate CEL expression errors in the proto file. More...
 

Functions

ValidationSettings Parse (const yaml_config::YamlConfig &config, formats::parse::To< ValidationSettings >)
 
Settings Parse (const yaml_config::YamlConfig &config, formats::parse::To< Settings >)
 

Function Documentation

◆ Parse() [1/2]

Settings grpc_protovalidate::client::Parse ( const yaml_config::YamlConfig & config,
formats::parse::To< Settings >  )

Definition at line 18 of file component.cpp.

◆ Parse() [2/2]

ValidationSettings grpc_protovalidate::client::Parse ( const yaml_config::YamlConfig & config,
formats::parse::To< ValidationSettings >  )

Definition at line 12 of file component.cpp.