Type Alias GrpcHeaderMatch

Source
pub type GrpcHeaderMatch = HttpHeaderMatch;

Aliased Type§

enum GrpcHeaderMatch {
    Exact {
        name: String,
        value: String,
    },
    RegularExpression {
        name: String,
        value: String,
    },
}

Variants§

§

Exact

Fields

§name: String
§value: String
§

RegularExpression

Fields

§name: String
§value: String

Since RegularExpression HeaderMatchType has custom conformance, implementations can support POSIX, PCRE or any other dialects of regular expressions. Please read the implementation’s documentation to determine the supported dialect.