Download .opencode/node_modules/multipasta/dist/dts/HeadersParser.d.ts from Chenloong999/opencode-data: direct link, hf CLI and curl.
- Browser
- Download file 666 Bytes
-
https://huggingface.co/datasets/Chenloong999/opencode-data/resolve/main/.opencode/node_modules/multipasta/dist/dts/HeadersParser.d.ts
- Command line
-
hf download hf://datasets/Chenloong999/opencode-data/.opencode/node_modules/multipasta/dist/dts/HeadersParser.d.ts
-
curl -L -o HeadersParser.d.ts https://huggingface.co/datasets/Chenloong999/opencode-data/resolve/main/.opencode/node_modules/multipasta/dist/dts/HeadersParser.d.ts
666 Bytes
| export type FailureReason = "TooManyHeaders" | "HeaderTooLarge" | "InvalidHeaderName" | "InvalidHeaderValue"; | |
| export interface Continue { | |
| readonly _tag: "Continue"; | |
| } | |
| export interface Failure { | |
| readonly _tag: "Failure"; | |
| readonly reason: FailureReason; | |
| readonly headers: Record<string, string | Array<string>>; | |
| } | |
| export interface Headers { | |
| readonly _tag: "Headers"; | |
| readonly headers: Record<string, string | Array<string>>; | |
| readonly endPosition: number; | |
| } | |
| export type ReturnValue = Continue | Failure | Headers; | |
| export declare const make: () => (chunk: Uint8Array, start: number) => ReturnValue; | |
| //# sourceMappingURL=HeadersParser.d.ts.map |