RouteHas: {
    key: string;
    type: "header" | "cookie" | "query";
    value?: string;
} | {
    key?: undefined;
    type: "host";
    value: string;
}

Type declaration

  • key: string
  • type: "header" | "cookie" | "query"
  • Optional value?: string

Type declaration

  • Optional key?: undefined
  • type: "host"
  • value: string