summaryrefslogtreecommitdiff
path: root/lib/server/response/index.ts
blob: 2900f6f2436c1893d3461d849119513011e3a78b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { Body } from '@emprespresso/pengueno';

export interface BaseResponse {
    status: number;
    statusText: string;
    headers: Record<string, string>;

    body(): Body;
}

export interface ResponseOpts {
    status: number;
    statusText?: string;
    headers?: Record<string, string>;
}

export * from './pengueno';