RewriteOptions
Options of rewrite.
Options of rewrite.
Import#
ts
import type { RewriteOptions } from "@shadow-js/dusk/server";
Signature#
ts
interface RewriteOptions {
/** Headers added to the request the target route receives (they replace a header of the same name). */
readonly headers?: HeadersInit;
}
Members#
| Name | Type | Description |
|---|---|---|
headers? |
readonly headers?: HeadersInit |
Headers added to the request the target route receives (they replace a header of the same name). |