淘先锋技术网

首页 1 2 3 4 5 6 7

一、类文档说明

class FetchUrl{

function __construct();

function body();

function clean();

function errmsg();

function errcode();

function fetch(string $url, function $callback);

function httpCode();

function responseCookies();

function responseHeaders();

function setAllowRedirect(bool $allow=false);

function setConnectTimeout(int $seconds=5);

function setCookie(string $name, string $value);

function setCookies(array $cookies);

function setMethod(string $method="get");

function setPostData(array $data);

function setReadTimeout(int $seconds=60);

function __destroy();

}