@reportfy/apm
Version:
Pacote para utilização de apm do reportfy.com.br
20 lines • 580 B
TypeScript
export declare type Method = 'get' | 'GET' | 'delete' | 'DELETE' | 'head' | 'HEAD' | 'options' | 'OPTIONS' | 'post' | 'POST' | 'put' | 'PUT' | 'patch' | 'PATCH' | 'purge' | 'PURGE' | 'link' | 'LINK' | 'unlink' | 'UNLINK';
export interface Request {
host: string;
method: Method;
path: string;
data: Object;
}
export interface Response {
id?: string;
message?: string;
}
export interface Req {
headers: object;
url: string;
method: Method;
query: string;
params: Object;
body: Object | string;
}
//# sourceMappingURL=request.d.ts.map