MCPcopy Create free account
hub / github.com/imroc/req / Dump

Method Dump

response.go:266–268  ·  view source on GitHub ↗

Dump return the string content that have been dumped for the request. `Request.Dump` or `Request.DumpXXX` MUST have been called.

()

Source from the content-addressed store, hash-verified

264// Dump return the string content that have been dumped for the request.
265// `Request.Dump` or `Request.DumpXXX` MUST have been called.
266func (r *Response) Dump() string {
267 return r.Request.getDumpBuffer().String()
268}
269
270// GetStatus returns the response status.
271func (r *Response) GetStatus() string {

Callers 4

testEnableDumpFunction · 0.80
NewClientFunction · 0.80
initFunction · 0.80

Calls 2

getDumpBufferMethod · 0.80
StringMethod · 0.45

Tested by 2

testEnableDumpFunction · 0.64