WriteString 写入字符串
(s string)
| 817 | |
| 818 | // WriteString 写入字符串 |
| 819 | func (this *HTTPWriter) WriteString(s string) (n int, err error) { |
| 820 | return this.Write([]byte(s)) |
| 821 | } |
| 822 | |
| 823 | // SentBodyBytes 读取发送的字节数 |
| 824 | func (this *HTTPWriter) SentBodyBytes() int64 { |