UNPKG

@softchef/cdk-restapi

Version:
41 lines (40 loc) 778 B
export declare class HttpMethod { /** * HTTP ANY Method */ static readonly ANY: HttpMethod; /** * HTTP GET Method */ static readonly GET: HttpMethod; /** * HTTP POST Method */ static readonly POST: HttpMethod; /** * HTTP PUT Method */ static readonly PUT: HttpMethod; /** * HTTP DELETE Method */ static readonly DELETE: HttpMethod; /** * HTTP HEAD Method */ static readonly HEAD: HttpMethod; /** * HTTP PATH Method */ static readonly PATCH: HttpMethod; /** * HTTP OPTIONS Method */ static readonly OPTIONS: HttpMethod; /** * HTTP Method */ readonly method: string; constructor(method: string); toString(): string; }