(chunk)
| 52619 | } |
| 52620 | util4.validateHandler(handler, method, upgrade); |
| 52621 | this.servername = util4.getServerName(this.host); |
| 52622 | this[kHandler] = handler; |
| 52623 | if (channels.create.hasSubscribers) { |
| 52624 | channels.create.publish({ request: this }); |
| 52625 | } |
| 52626 | } |
| 52627 | onBodySent(chunk) { |
| 52628 | if (this[kHandler].onBodySent) { |
| 52629 | try { |
| 52630 | return this[kHandler].onBodySent(chunk); |
| 52631 | } catch (err) { |
| 52632 | this.abort(err); |
nothing calls this directly
no test coverage detected