()
| 877 | let skipped = true |
| 878 | let sent = false |
| 879 | function send () { |
| 880 | class="cm">// add trailers when all handler handled |
| 881 | /* istanbul ignore else */ |
| 882 | if (handled === 0 && !sent) { |
| 883 | sent = true |
| 884 | res.addTrailers(trailers) |
| 885 | class="cm">// we need to properly close the stream |
| 886 | class="cm">// after trailers sent |
| 887 | res.end(null, null, null) class="cm">// avoid ArgumentsAdaptorTrampoline from V8 |
| 888 | } |
| 889 | } |
| 890 | |
| 891 | for (const trailerName of trailerHeaders) { |
| 892 | if (typeof reply[kReplyTrailers][trailerName] !== class="st">'function') continue |
nothing calls this directly
no outgoing calls
no test coverage detected