Class Swoole
package |
Ascmvc\Session |
---|
__construct(\swoole_http_request $request, \swoole_http_response $response)
\swoole_http_request
\swoole_http_response
getCookie(string $name = '') : null
string
null
getServerGlobalEnv() : mixed
mixed
setCookie(string $name, string $value = "", integer $expire, string $path = "", string $domain = "", boolean $secure = false, boolean $httponly = false) : mixed
string
string
integer
string
string
boolean
boolean
mixed
setRequest(\swoole_http_request|null $request = null) : $this|\swoole_http_request
\swoole_http_request|null
$this|\swoole_http_request
setResponse(\swoole_http_response|null $response = null) : $this|\swoole_http_response
\swoole_http_response|null
$this|\swoole_http_response