多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
# Class **Phalcon\Http\Response\Headers**[](# "永久链接至标题") *implements*[*Phalcon\Http\Response\HeadersInterface*](#) This class is a bag to manage the response headers ### Methods[](# "永久链接至标题") public **set** (*string* $name, *string* $value) Sets a header to be sent at the end of the request public *string***get** (*string* $name) Gets a header value from the internal bag public **setRaw** (*string* $header) Sets a raw header to be sent at the end of the request public **remove** (*unknown* $header) Removes a header to be sent at the end of the request public **send** () Sends the headers to the client public **reset** () Reset set headers public **toArray** () Returns the current headers as an array public static **__set_state** (*unknown* $data) Restore a Phalcon\Http\Response\Headers object | - [索引](# "总目录") - [下一页](# "Class Phalcon\Image") | - [上一页](# "Class Phalcon\Http\Response\Exception") | - [API Indice](#) »