()
| 2927 | } |
| 2928 | } |
| 2929 | onRequestSent() { |
| 2930 | if (channels.bodySent.hasSubscribers) { |
| 2931 | channels.bodySent.publish({ request: this }); |
| 2932 | } |
| 2933 | if (this[kHandler].onRequestSent) { |
| 2934 | try { |
| 2935 | return this[kHandler].onRequestSent(); |
| 2936 | } catch (err) { |
| 2937 | this.abort(err); |
| 2938 | } |
| 2939 | } |
| 2940 | } |
| 2941 | onRequestStart(abort, context) { |
| 2942 | assert(!this.aborted); |
| 2943 | assert(!this.completed); |
nothing calls this directly
no test coverage detected