Advertisement
Guest User

Untitled

a guest
Jul 19th, 2018
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. interface Context extends BaseContext {
  2. app: Application;
  3. request: Request;
  4. response: Response;
  5. req: IncomingMessage;
  6. res: ServerResponse;
  7. originalUrl: string;
  8. cookies: Cookies;
  9. accept: accepts.Accepts;
  10. state: any;
  11. /**
  12. * To bypass Koa's built-in response handling, you may explicitly set `ctx.respond = false;`
  13. */
  14. respond?: boolean;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement