class HttpClient

Methods

static mixed
getCode()

No description

static mixed
post(string $url, string $data = null, array $header = [])

No description

static void
close()

No description

static mixed
get(string $url, string $data = null, array $header = [], $timeout = 5)

No description

static mixed
delete(string $url, array $header = [])

No description

Details

at line 18
static mixed getCode()

Return Value

mixed

at line 28
static mixed post(string $url, string $data = null, array $header = [])

Parameters

string $url
string $data
array $header

Return Value

mixed

Exceptions

Exception

at line 47
static void close()

Return Value

void

at line 59
static mixed get(string $url, string $data = null, array $header = [], $timeout = 5)

Parameters

string $url
string $data
array $header
$timeout

Return Value

mixed

Exceptions

Exception

at line 76
static mixed delete(string $url, array $header = [])

Parameters

string $url
array $header

Return Value

mixed

Exceptions

Exception