Skip to content

PlatformExpressResponse

@tsed/platform-express

Usage

typescript
import { PlatformExpressResponse } from "@tsed/platform-express";

See /packages/platform/platform-express/src/services/PlatformExpressResponse.ts.

Overview

ts
class PlatformExpressResponse extends PlatformResponse<TsED.Response> {
    cookie(name: string, value: string | null, opts?: TsED.SetCookieOpts): this;
    protected end(data?: number | string | Buffer): void;
}
ts
cookie(name: string, value: string | null, opts?: TsED.SetCookieOpts): this;

protected end

ts
protected end(data?: number | string | Buffer): void;

Released under the MIT License.