#include <matchers.h>
|
static absl::StatusOr< HeaderMatcher > | Create (absl::string_view name, Type type, absl::string_view matcher, int64_t range_start=0, int64_t range_end=0, bool present_match=false, bool invert_match=false) |
|
◆ Type
Enumerator |
---|
kExact | |
kPrefix | |
kSuffix | |
kSafeRegex | |
kContains | |
kRange | |
kPresent | |
◆ HeaderMatcher() [1/3]
grpc_core::HeaderMatcher::HeaderMatcher |
( |
| ) |
|
|
default |
◆ HeaderMatcher() [2/3]
grpc_core::HeaderMatcher::HeaderMatcher |
( |
const HeaderMatcher & |
other | ) |
|
◆ HeaderMatcher() [3/3]
grpc_core::HeaderMatcher::HeaderMatcher |
( |
HeaderMatcher && |
other | ) |
|
|
noexcept |
◆ Create()
absl::StatusOr< HeaderMatcher > grpc_core::HeaderMatcher::Create |
( |
absl::string_view |
name, |
|
|
Type |
type, |
|
|
absl::string_view |
matcher, |
|
|
int64_t |
range_start = 0 , |
|
|
int64_t |
range_end = 0 , |
|
|
bool |
present_match = false , |
|
|
bool |
invert_match = false |
|
) |
| |
|
static |
◆ Match()
bool grpc_core::HeaderMatcher::Match |
( |
const absl::optional< absl::string_view > & |
value | ) |
const |
◆ name()
const std::string& grpc_core::HeaderMatcher::name |
( |
| ) |
const |
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator==()
bool grpc_core::HeaderMatcher::operator== |
( |
const HeaderMatcher & |
other | ) |
const |
◆ regex_matcher()
RE2* grpc_core::HeaderMatcher::regex_matcher |
( |
| ) |
const |
|
inline |
◆ string_matcher()
const std::string& grpc_core::HeaderMatcher::string_matcher |
( |
| ) |
const |
|
inline |
◆ ToString()
std::string grpc_core::HeaderMatcher::ToString |
( |
| ) |
const |
◆ type()
Type grpc_core::HeaderMatcher::type |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: