Interface: MatcherOptions<IncomingEventType, OutgoingResponseType>
Interface: MatcherOptions<IncomingEventType, OutgoingResponseType>
Options for route matchers.
Type Parameters
IncomingEventType
IncomingEventType
extends IIncomingEvent
= IIncomingEvent
The type representing the incoming HTTP event.
OutgoingResponseType
OutgoingResponseType
= unknown
The type representing the outgoing HTTP response.
Properties
event
event: IncomingEventType;
The incoming HTTP event to be matched.
route
route: Route<IncomingEventType, OutgoingResponseType>;
The route definition to match against.