Method | Description | |
---|---|---|
httpCookie ( ) : |
Get Cookie instance. | |
httpRedirect ( string | |
Redirect the request to the given url. | |
httpRequest ( ) : |
Get Request component instance. | |
httpResponse ( string $content = '', integer $statusCode = 200, array $headers = [] ) : |
Creates and returns a new Response instance. | |
httpSession ( ) : |
Get Session instance. |
protected static httpCookie ( ) : |
||
return |
protected static httpRequest ( ) : |
||
return |
protected static httpResponse ( string $content = '', integer $statusCode = 200, array $headers = [] ) : |
||
$content | string | Content that will be attached to the response. |
$statusCode | integer | HTTP status code that will be sent back to the user. |
$headers | array | Additional headers that should be attached to the response. |
return |
protected static httpSession ( ) : |
||
return |