@param string $method 资源请求方式
用于设定资源请求方式
//直接调用 Task::getInstance()->setMethod('post'); //通过phpcreeper实例调用 $worker->getTaskMan()->setMethod('post');