UNPKG

427 BTypeScriptView Raw
1import { Context } from 'koa';
2export declare enum Tag {
3 Path = "path",
4 RequestMethod = "request_method",
5 ResponseCode = "response_code",
6 ResponseType = "response_type"
7}
8export declare function tagsForRequest(ctx: Context): {
9 [Tag.Path]: string;
10 [Tag.RequestMethod]: string;
11};
12export declare function tagsForResponse(ctx: Context): {
13 [Tag.ResponseCode]: string;
14 [Tag.ResponseType]: string;
15};