struct ResponseRecorder
XuAPI
pub struct ResponseRecorder {
pub code int
pub hdr string
pub body string
pub wrote int
}用途
公开结构体 `ResponseRecorder`。
参数
codeint- 码
hdrstring- 字段(string)
bodystring- 正文
wroteint- 字段(int)