PHP Class Swoole\Http\LAMP

Inheritance: implements Swoole\IFace\Http
Show file Open project: matyhtf/swoole_framework

Public Methods

Method Description
finish ( $content = null )
getRequestBody ( )
header ( $k, $v )
redirect ( $url, $mode = 301 )
response ( $content )
setcookie ( $name, $value = null, $expire = null, $path = '/', $domain = null, $secure = null, $httponly = null )
status ( $code )

Method Details

finish() public method

public finish ( $content = null )

getRequestBody() public method

public getRequestBody ( )

header() public method

public header ( $k, $v )

redirect() public method

public redirect ( $url, $mode = 301 )

response() public method

public response ( $content )

setcookie() public method

public setcookie ( $name, $value = null, $expire = null, $path = '/', $domain = null, $secure = null, $httponly = null )

status() public method

public status ( $code )