Lupa API Reference / network/types / RequestMatchOptions
Interface: RequestMatchOptions
Defined in: src/network/types.ts:28
Options to strictly match a request by its URI and optionally its HTTP method.
Properties
method?
optionalmethod?:HttpMethod
Defined in: src/network/types.ts:32
Optional HTTP method to strictly enforce when matching.
uri
uri:
string
Defined in: src/network/types.ts:30
The URI to match. Supports plain strings or patterns with : and * wildcards.