Interface DispatchController

interface DispatchController {
    rawHeaders?: string[] | Buffer<ArrayBufferLike>[] | null;
    rawTrailers?: string[] | Buffer<ArrayBufferLike>[] | null;
    get aborted(): boolean;
    get paused(): boolean;
    get reason(): Error | null;
    abort(reason: Error): void;
    pause(): void;
    resume(): void;
}

Properties§

§rawHeaders?: string[] | Buffer<ArrayBufferLike>[] | null
§rawTrailers?: string[] | Buffer<ArrayBufferLike>[] | null

Accessors§

§

get aborted(): boolean

§

get paused(): boolean

§

get reason(): Error | null

Methods§

§

abort(reason: Error): void

§

pause(): void

§

resume(): void