SetBeforeFlush registers the unique callback which called exactly before the response is flushed to the client.
(cb func())
| 55 | |
| 56 | // SetBeforeFlush registers the unique callback which called exactly before the response is flushed to the client. |
| 57 | SetBeforeFlush(cb func()) |
| 58 | // GetBeforeFlush returns (not execute) the before flush callback, or nil if not set by SetBeforeFlush. |
| 59 | GetBeforeFlush() func() |
| 60 | // FlushResponse should be called only once before EndResponse. |
no outgoing calls
no test coverage detected