HTTPRequest.method() 方法 使用的方法(GET、POST 等) 签名 class HTTPRequest { abstract method(): string; } 返回值: string