EnableDumpTo enables dump and save to the specified io.Writer.
(output io.Writer)
| 1047 | |
| 1048 | // EnableDumpTo enables dump and save to the specified io.Writer. |
| 1049 | func (r *Request) EnableDumpTo(output io.Writer) *Request { |
| 1050 | r.getDumpOptions().Output = output |
| 1051 | return r.EnableDump() |
| 1052 | } |
| 1053 | |
| 1054 | // EnableDumpToFile enables dump and save to the specified filename. |
| 1055 | func (r *Request) EnableDumpToFile(filename string) *Request { |