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

Method Size

response_writer.go:34–34  ·  view source on GitHub ↗

Size returns the number of bytes already written into the response http body. See Written()

()

Source from the content-addressed store, hash-verified

32 // Size returns the number of bytes already written into the response http body.
33 // See Written()
34 Size() int
35
36 // WriteString writes the string into the response body.
37 WriteString(string) (int, error)

Callers 4

TestResponseWriterResetFunction · 0.95
TestResponseWriterWriteFunction · 0.65
LoggerWithConfigFunction · 0.65

Implementers 1

responseWriterresponse_writer.go

Calls

no outgoing calls

Tested by 3

TestResponseWriterResetFunction · 0.76
TestResponseWriterWriteFunction · 0.52