MCPcopy Index your code
hub / github.com/SenseUnit/dumbproxy / flush

Function flush

handler/proxy.go:57–64  ·  view source on GitHub ↗
(flusher any)

Source from the content-addressed store, hash-verified

55}
56
57func flush(flusher any) bool {
58 f, ok := flusher.(http.Flusher)
59 if !ok {
60 return false
61 }
62 f.Flush()
63 return true
64}
65
66func wrapPendingWrite(data []byte, c net.Conn) *pendingWriteConn {
67 return &pendingWriteConn{

Callers 2

HandleTunnelMethod · 0.85
HandleRequestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected