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

Method BytesWritten

middleware/wrap_writer.go:54–54  ·  view source on GitHub ↗

BytesWritten returns the total number of bytes sent to the client.

()

Source from the content-addressed store, hash-verified

52 Status() int
53 // BytesWritten returns the total number of bytes sent to the client.
54 BytesWritten() int
55 // Tee causes the response body to be written to the given io.Writer in
56 // addition to proxying the writes through. Only one io.Writer can be
57 // tee'd to at once: setting a second one will overwrite the first.

Callers 2

RequestLoggerFunction · 0.95

Implementers 1

basicWritermiddleware/wrap_writer.go

Calls

no outgoing calls