WriteTo writes request to w. It implements io.WriterTo.
(w io.Writer)
| 1650 | |
| 1651 | // WriteTo writes request to w. It implements io.WriterTo. |
| 1652 | func (req *Request) WriteTo(w io.Writer) (int64, error) { |
| 1653 | return writeBufio(req, w) |
| 1654 | } |
| 1655 | |
| 1656 | // WriteTo writes response to w. It implements io.WriterTo. |
| 1657 | func (resp *Response) WriteTo(w io.Writer) (int64, error) { |