UNPKG

@tokenizer/http

Version:

HTTP tokenizer for Node.js and browser

12 lines (11 loc) 389 B
import { type IRangeRequestResponse } from '@tokenizer/range'; export declare class ResponseInfo { response: Response; constructor(response: Response); private getContentLength; getAcceptRangesHeaderValue(): string | null; getContentType(): string | null; acceptRanges(): boolean; private getContentRange; toRangeRequestResponse(): IRangeRequestResponse; }