(
route:
| HTTPRoute
| BrowserHTTPRoute
| WebSocketRoute
| BrowserWebsocketRoute,
)
| 91 | } |
| 92 | |
| 93 | protected compilePathMatchers( |
| 94 | route: |
| 95 | | HTTPRoute |
| 96 | | BrowserHTTPRoute |
| 97 | | WebSocketRoute |
| 98 | | BrowserWebsocketRoute, |
| 99 | ) { |
| 100 | this.pathMatchers.set( |
| 101 | route, |
| 102 | (route.path as Array<PathTypes>).map((p) => |
| 103 | micromatch.matcher(p as string), |
| 104 | ), |
| 105 | ); |
| 106 | } |
| 107 | |
| 108 | protected getTimeout(req: Request) { |
| 109 | const timer = req.parsed.searchParams.get('timeout'); |
no outgoing calls
no test coverage detected