1# Http_Response 2<!--Kit: Network Kit--> 3<!--Subsystem: Communication--> 4<!--Owner: @wmyao_mm--> 5<!--Designer: @guo-min_net--> 6<!--Tester: @tongxilin--> 7<!--Adviser: @zhang_yixin13--> 8## 概述 9 10定义HTTP响应的结构体。 11 12**起始版本:** 20 13 14**相关模块:** [netstack](capi-netstack.md) 15 16**所在头文件:** [net_http_type.h](capi-net-http-type-h.md) 17 18## 汇总 19 20### 成员变量 21 22| 名称 | 描述 | 23| -- | -- | 24| [Http_Buffer](capi-netstack-http-buffer.md) body | HTTP请求响应的数据,参考[Http_Buffer](capi-netstack-http-buffer.md)。 | 25| [Http_ResponseCode](capi-net-http-type-h.md#http_responsecode) responseCode | HTTP请求响应码,参考[Http_ResponseCode](capi-net-http-type-h.md#http_responsecode)。 | 26| [Http_Headers](capi-netstack-http-headers.md) *headers | HTTP响应的头,指向Http_Headers的指针,参考[Http_Headers](capi-netstack-http-headers.md)。 | 27| char *cookies | HTTP响应Cookies。 | 28| [Http_PerformanceTiming](capi-netstack-http-performancetiming.md) *performanceTiming | HTTP响应时间信息,指向Http_PerformanceTiming的指针,参考[Http_PerformanceTiming](capi-netstack-http-performancetiming.md)。 | 29 30 31### 成员函数 32 33| 名称 | 描述 | 34| -- | -- | 35| [void (\*destroyResponse)(struct Http_Response **response)](#destroyresponse) | 销毁HTTP响应的回调函数 | 36 37## 成员函数说明 38 39### destroyResponse() 40 41``` 42void (*destroyResponse)(struct Http_Response **response) 43``` 44 45**描述** 46 47销毁HTTP响应的回调函数 48 49**起始版本:** 20 50 51**参数:** 52 53| 参数项 | 描述 | 54| -- | -- | 55| struct [Http_Response](capi-netstack-http-response.md) **response | 要销毁的HTTP响应,指向Http_Response的指针,参考[Http_Response](capi-netstack-http-response.md)。 | 56 57 58