mirror of
https://gitee.com/johng/gf
synced 2026-07-06 13:42:46 +08:00
rename Dump to RawDump for ghttp.ClientResponse
This commit is contained in:
@ -90,7 +90,7 @@ func (r *ClientResponse) Raw() string {
|
||||
return fmt.Sprintf("%s\n%s", r.RawRequest(), r.RawResponse())
|
||||
}
|
||||
|
||||
// Dump outputs the raw text of the request and the response to stdout.
|
||||
func (r *ClientResponse) Dump() {
|
||||
// RawDump outputs the raw text of the request and the response to stdout.
|
||||
func (r *ClientResponse) RawDump() {
|
||||
fmt.Println(r.Raw())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user