Method | Description | |
---|---|---|
getCookie ( string $name ) : Icicle\Http\Message\Cookie\MetaCookie | null | ||
getCookies ( ) : array | ||
getReasonPhrase ( ) : string | Returns the reason phrase describing the status code. | |
getStatusCode ( ) : integer | Returns the response status code. | |
hasCookie ( string $name ) : boolean | ||
withCookie ( string $name, string $value = '', integer $expires, string $path = '', string $domain = '', boolean $secure = false, boolean $httpOnly = false ) : Icicle\Http\Message\Response | ||
withStatus ( integer $code, string $reason = '' ) : Icicle\Http\Message\Response | Returns a new instance with the given status. | |
withoutCookie ( string $name ) : Icicle\Http\Message\Response |
public getReasonPhrase ( ) : string | ||
return | string |
public getStatusCode ( ) : integer | ||
return | integer |
public withCookie ( string $name, string $value = '', integer $expires, string $path = '', string $domain = '', boolean $secure = false, boolean $httpOnly = false ) : Icicle\Http\Message\Response | ||
$name | string | |
$value | string | |
$expires | integer | |
$path | string | |
$domain | string | |
$secure | boolean | |
$httpOnly | boolean | |
return | Icicle\Http\Message\Response |
public withStatus ( integer $code, string $reason = '' ) : Icicle\Http\Message\Response | ||
$code | integer | 3-digit status code. |
$reason | string | Description of status code or null to use default reason associated with the status code given. |
return | Icicle\Http\Message\Response |
public withoutCookie ( string $name ) : Icicle\Http\Message\Response | ||
$name | string | |
return | Icicle\Http\Message\Response |