@ -43,12 +43,12 @@ func (this Response) Send(data string) error {
}
// 取消接收数据
func (this Response) Close() {
this.recv.Close()
func (this Response) Close() error {
if this.method.IsServerStreaming() {
this.cancel()
return this.recv.Close()
func (this Response) GetCategory() string {