mockttp
    Preparing search index...

    Interface RequestMatcher

    interface RequestMatcher {
        type:
            | "port"
            | "header"
            | "method"
            | "host"
            | "cookie"
            | "protocol"
            | "query"
            | "hostname"
            | "callback"
            | "wildcard"
            | "simple-path"
            | "regex-path"
            | "regex-url"
            | "exact-query-string"
            | "form-data"
            | "multipart-form-data"
            | "raw-body"
            | "raw-body-regexp"
            | "raw-body-includes"
            | "json-body"
            | "json-body-matching";
        dispose(): void;
        explain(): string;
        matches(request: OngoingRequest): MaybePromise<boolean>;
    }

    Hierarchy (View Summary)

    Implemented by

    Index
    type:
        | "port"
        | "header"
        | "method"
        | "host"
        | "cookie"
        | "protocol"
        | "query"
        | "hostname"
        | "callback"
        | "wildcard"
        | "simple-path"
        | "regex-path"
        | "regex-url"
        | "exact-query-string"
        | "form-data"
        | "multipart-form-data"
        | "raw-body"
        | "raw-body-regexp"
        | "raw-body-includes"
        | "json-body"
        | "json-body-matching"