Class Response
HttpResponse class.
- Nette\Object
- Nette\Http\Response implements Nette\Http\IResponse
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
mixed
|
|
public
array
|
|
public static
string
|
|
public
|
|
public
|
|
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
string
|
$cookieSecure | FALSE |
#
Whether the cookie is available only through HTTPS |
public
string
|
$cookieHttpOnly | TRUE |
#
Whether the cookie is hidden from client-side |
public
integer
|
$code | |
public read-only
boolean
|
$sent | |
public read-only
array
|
$headers |
$reflection
|