Interface: WebFilterCtor<Context>
@divine/web-service.WebFilterCtor
The static side of a web filter.
Specifies how a filter is constructed and configures for what paths the filter applies to.
Type parameters
| Name | Description | 
|---|---|
| Context | The type of the WebService context. | 
Constructors
constructor
• new WebFilterCtor(context, args)
Constructs a filter instance. Invoked by WebService when a filter's path matches the request path.
Parameters
| Name | Type | Description | 
|---|---|---|
| context | Context | The WebService context. | 
| args | WebArguments | The request arguments. | 
Defined in
web-service/src/resource.ts:35
Properties
path
• path: RegExp
A regular expression that is used when checking if this filter should process a given request.