(err, request, reply, payload)
| 555 | } |
| 556 | |
| 557 | function wrapOnSendEnd (err, request, reply, payload) { |
| 558 | if (err != null) { |
| 559 | onErrorHook(reply, err) |
| 560 | } else { |
| 561 | onSendEnd(reply, payload) |
| 562 | } |
| 563 | } |
| 564 | |
| 565 | function safeWriteHead (reply, statusCode) { |
| 566 | const res = reply.raw |
nothing calls this directly
no test coverage detected