source: node_modules/undici/lib/handler/DecoratorHandler.js

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 613 bytes
Line 
1'use strict'
2
3module.exports = class DecoratorHandler {
4 constructor (handler) {
5 this.handler = handler
6 }
7
8 onConnect (...args) {
9 return this.handler.onConnect(...args)
10 }
11
12 onError (...args) {
13 return this.handler.onError(...args)
14 }
15
16 onUpgrade (...args) {
17 return this.handler.onUpgrade(...args)
18 }
19
20 onHeaders (...args) {
21 return this.handler.onHeaders(...args)
22 }
23
24 onData (...args) {
25 return this.handler.onData(...args)
26 }
27
28 onComplete (...args) {
29 return this.handler.onComplete(...args)
30 }
31
32 onBodySent (...args) {
33 return this.handler.onBodySent(...args)
34 }
35}
Note: See TracBrowser for help on using the repository browser.