(path: string)
| 49 | return await this.handler(req, STUB); |
| 50 | } |
| 51 | async options(path: string): Promise<Response> { |
| 52 | const url = this.toUrl(path); |
| 53 | const req = new Request(url, { method: "options" }); |
| 54 | return await this.handler(req, STUB); |
| 55 | } |
| 56 | |
| 57 | async request(req: Request): Promise<Response> { |
| 58 | return await this.handler(req, STUB); |