PHPDaemon\WebSocket\Route::getCookieStr PHP Method

getCookieStr() protected method

Get cookie by name
protected getCookieStr ( string $name ) : string
$name string Name of cookie
return string Contents
    protected function getCookieStr($name)
    {
        return \PHPDaemon\HTTPRequest\Generic::getString($this->attrs->cookie[$name]);
    }