Properties

$host

$host : string

请求主机

Type

string

$wsHost

$wsHost : string

WebSocket 请求主机

Type

string

$wssHost

$wssHost : string

WebSocket SSL 请求主机

Type

string

$http2Host

$http2Host : string

Http2 请求主机

Type

string

Methods

__construct()

__construct(  $name = null, array  $data = array(),   $dataName = '') 

Parameters

$name
array $data
$dataName

testHelloWorld()

testHelloWorld() : void

Hello World

testJson()

testJson() : void

JSON

testGetParams()

testGetParams() : void

$_GET

testGetParams2()

testGetParams2() : void

$_GET

testPostParams()

testPostParams() : void

$_POST

testPutRequest()

testPutRequest() : void

PUT 请求

testCookieParams()

testCookieParams() : void

$_COOKIE

testRequestHeaders()

testRequestHeaders() : void

Request Header

testResponseHeaders()

testResponseHeaders() : void

Response Header

testCookieManager()

testCookieManager() : void

Cookie Manager

testAutoRedirect()

testAutoRedirect() : void

AutoRedirect

testDisableAutoRedirect()

testDisableAutoRedirect() : void

disableAutoRedirect

testLimitMaxRedirects()

testLimitMaxRedirects() : void

Limit MaxRedirects

testRedirectOther()

testRedirectOther() : void

Redirect Other

testUploadSingle()

testUploadSingle() : void

Upload single file

testUploadMulti()

testUploadMulti() : void

Upload multi files

testDownload()

testDownload() : void

Download file

testDownloadAutoExt()

testDownloadAutoExt() : void

Download file auto extension

testBody()

testBody() : void

body

testResponseGetRequest()

testResponseGetRequest() : void

$response->getRequest()

testCoBatch()

testCoBatch() : void

co

testMemoryLeak()

testMemoryLeak() 

call()

call(  $callable) 

Parameters

$callable