Request
class Request
发起网络请求
Properties
static | $debug |
Methods
static void
setAppKey(string $app_key)
No description
static void
setAppId($app_id)
No description
static void
setRetry($retry)
No description
static void
setFormat(string $format)
No description
static void
setCurl(Curl $curl, int $timeout)
No description
static void
close()
No description
static array
exec(string $url, array $arg, bool $charSetUTF8 = true, bool $retry = false, bool $post = true)
逻辑处理.
static void
returnStr($str)
结果返回字符串则抛出错误.
Details
at line 30
static void
setAppKey(string $app_key)
at line 35
static void
setAppId($app_id)
at line 40
static void
setRetry($retry)
at line 48
static void
setFormat(string $format)
at line 53
static void
setCurl(Curl $curl, int $timeout)
at line 60
static void
close()
at line 98
static array
exec(string $url, array $arg, bool $charSetUTF8 = true, bool $retry = false, bool $post = true)
逻辑处理.
at line 203
static void
returnStr($str)
结果返回字符串则抛出错误.