Const
Header matcher - validates HTTP header matching
import { MatchHeaderSchema } from "@accelerated-software-development/caddy-api-client";// Match requests with specific headersconst headers = MatchHeaderSchema.parse({ "Content-Type": ["application/json"], "Accept": ["application/json", "text/plain"]}); Copy
import { MatchHeaderSchema } from "@accelerated-software-development/caddy-api-client";// Match requests with specific headersconst headers = MatchHeaderSchema.parse({ "Content-Type": ["application/json"], "Accept": ["application/json", "text/plain"]});
Header matcher - validates HTTP header matching