MCPcopy
hub / github.com/go-chi/chi / Flush

Method Flush

middleware/wrap_writer.go:172–176  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

170}
171
172func (f *flushHijackWriter) Flush() {
173 f.wroteHeader = true
174 fl := f.basicWriter.ResponseWriter.(http.Flusher)
175 fl.Flush()
176}
177
178func (f *flushHijackWriter) Hijack() (net.Conn, *bufio.ReadWriter, error) {
179 hj := f.basicWriter.ResponseWriter.(http.Hijacker)

Callers

nothing calls this directly

Calls 1

FlushMethod · 0.65

Tested by

no test coverage detected