MCPcopy
hub / github.com/gofiber/fiber / Body

Method Body

client/response.go:88–90  ·  view source on GitHub ↗

Body returns the HTTP response body as a byte slice.

()

Source from the content-addressed store, hash-verified

86
87// Body returns the HTTP response body as a byte slice.
88func (r *Response) Body() []byte {
89 return r.RawResponse.Body()
90}
91
92// BodyStream returns the response body as a stream reader.
93// Note: When using BodyStream(), the response body is not copied to memory,

Callers 6

StringMethod · 0.95
JSONMethod · 0.95
CBORMethod · 0.95
XMLMethod · 0.95

Calls 1

BodyMethod · 0.65

Tested by 2