Interface UpgradeOptions
interface UpgradeOptions {
headers?: UndiciHeaders;
method?: string;
path: string;
protocol?: string;
responseHeaders?: "raw" | null;
signal?: unknown;
}interface UpgradeOptions {
headers?: UndiciHeaders;
method?: string;
path: string;
protocol?: string;
responseHeaders?: "raw" | null;
signal?: unknown;
}
Default:
null