MCPcopy
hub / github.com/gin-gonic/gin / Write

Method Write

response_writer.go:84–89  ·  view source on GitHub ↗
(data []byte)

Source from the content-addressed store, hash-verified

82}
83
84func (w *responseWriter) Write(data []byte) (n int, err error) {
85 w.WriteHeaderNow()
86 n, err = w.ResponseWriter.Write(data)
87 w.size += n
88 return
89}
90
91func (w *responseWriter) WriteString(s string) (n int, err error) {
92 w.WriteHeaderNow()

Callers

nothing calls this directly

Calls 1

WriteHeaderNowMethod · 0.95

Tested by

no test coverage detected