swoole_http_request [编辑本页]

http请求对象,保存了Http客户端请求的相关信息,包括GET、POST、COOKIE、Header等。


  • play_soso

        $_GET = $request->get;
        $_POST = $request->post;
        $_COOKIE = $request->cookie;
        $_FILES = $request->files;
    

  • 刘端坤

    对新手很有帮助 谢谢

  • liuwenbohhh

    1.9.6版本下,mac系统,get,post,file会出nodtice,PHP Notice: Undefined property: swoole_http_request::$get in /usr/local/var/www/test/index.php on line 5,PHP Notice: Undefined property: swoole_http_request::$post in /usr/local/var/www/test/index.php on line 7,PHP Notice: Undefined property: swoole_http_request::$files in /usr/local/var/www/test/index.php on line 9因为是mac系统的问题吗

  • 尉水亮

    yyy