Skip to content

Lupa API Reference / network/types / RequestMatchOptions

Interface: RequestMatchOptions

Defined in: src/network/types.ts:30

Options to strictly match a request by its URI and optionally its HTTP method.

Properties

methods?

optional methods?: HttpMethod[]

Defined in: src/network/types.ts:34

Optional HTTP method to strictly enforce when matching.


uri

uri: string

Defined in: src/network/types.ts:32

The URI to match. Supports plain strings or patterns with : and * wildcards.