Class Response
HttpResponse class.
- Nette\Http\Response implements Nette\Http\IResponse uses Nette\SmartObject
public
|
|
public
|
|
public
integer
|
|
public
|
|
public
|
|
public
|
|
public
|
#
redirect( string $url, integer $code =
Redirects to a new URL. Note: call exit() after it. |
public
|
#
setExpiration( string|integer|
Sets the number of seconds before a page cached on a browser expires. |
public
boolean
|
|
public
string|null
|
|
public
array
|
|
public static
|
|
public
|
|
public
|
#
setCookie( string $name, string $value, string|integer|
Sends a cookie. |
public
|
#
deleteCookie( string $name, string $path = null, string $domain = null, boolean $secure = null )
Deletes a cookie. |
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
public
string
|
$cookieDomain
The domain in which the cookie will be available |
# '' |
public
string
|
$cookiePath
The path in which the cookie will be available |
# '/' |
public
boolean
|
$cookieSecure
Whether the cookie is available only through HTTPS |
# false |
public
boolean
|
$cookieHttpOnly
Whether the cookie is hidden from client-side |
# true |
public
boolean
|
$warnOnBuffer
Whether warn on possible problem with data in output buffer |
# true |
public read-only
array
|
$headers
|