We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 33add33 + 1cdcf83 commit a62001cCopy full SHA for a62001c
config.go
@@ -80,8 +80,8 @@ func WithHTTPClient(client *http.Client) Option {
80
}
81
82
83
-// WithReuseBody 开启body复用; Response.Body可以被断言为BytesReadCloser, 重复调用Bytes()方法.
84
-// Enable body reuse; Response.Body can be asserted as a BytesReadCloser, calling the Bytes() method repeatedly.
+// WithReuseBody 开启Body可重复读; Response.Body可以被断言为BytesReadCloser, 调用Bytes()方法重复读取.
+// Turn on Body repeatable read; Response.Body can be asserted as BytesReadCloser, call Bytes() method to repeat reads.
85
func WithReuseBody() Option {
86
return func(c *config) {
87
c.ReuseBodyEnabled = true
0 commit comments