Http\Response\HeadersInterface

Interface Phalcon\Http\Response\HeadersInterface

Phalcon\Http\Response\HeadersInterface initializer

Methods

abstract public set (string $name, string $value)

Sets a header to be sent at the end of the request

abstract public string get (string $name)

Gets a header value from the internal bag

abstract public setRaw (string $header)

Sets a raw header to be sent at the end of the request

abstract public boolean send ()

Sends the headers to the client

abstract public reset ()

Reset set headers

abstract public array toArray ()

Returns the current headers as an array

© 2011–2016 Phalcon Framework Team
Licensed under the Creative Commons Attribution License 3.0.
https://docs.phalconphp.com/en/2.0.0/api/Phalcon_Http_Response_HeadersInterface.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部