From 870ba65d540bcdae36ad86908e83c94c9772305f Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Sun, 21 Mar 2021 01:09:25 +0800 Subject: [PATCH] modify --- HttpServer/Http/Request.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/HttpServer/Http/Request.php b/HttpServer/Http/Request.php index 36100d77..f3eaba60 100644 --- a/HttpServer/Http/Request.php +++ b/HttpServer/Http/Request.php @@ -65,6 +65,11 @@ class Request extends HttpService const PLATFORM_WINDOWS = 'windows'; + const HTTP_POST = 'post'; + const HTTP_GET = 'get'; + const HTTP_SOCKET = 'sw::socket'; + + /** * @var AuthIdentity|null */