| 2 | import type { UnhandledRequestStrategy } from './utils/request/onUnhandledRequest' |
| 3 | |
| 4 | export interface SharedOptions { |
| 5 | /** |
| 6 | * Specifies how to react to a request that has no corresponding |
| 7 | * request handler. Warns on unhandled requests by default. |
| 8 | * |
| 9 | * @example worker.start({ onUnhandledRequest: 'bypass' }) |
| 10 | * @example worker.start({ onUnhandledRequest: 'warn' }) |
| 11 | * @example server.listen({ onUnhandledRequest: 'error' }) |
| 12 | */ |
| 13 | onUnhandledRequest?: UnhandledRequestStrategy |
| 14 | } |
| 15 | |
| 16 | /** |
| 17 | * @deprecated |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…