\Qiniu\HttpClient

Summary

Methods
Properties
Constants
get()
post()
multipartPost()
sendRequest()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
userAgent()
parseHeaders()
escapeQuotes()
No private properties found
N/A

Methods

get()

get(  $url, array  $headers = array()) 

Parameters

$url
array $headers

post()

post(  $url,   $body, array  $headers = array()) 

Parameters

$url
$body
array $headers

multipartPost()

multipartPost(  $url,   $fields,   $name,   $fileName,   $fileBody,   $mimeType = null, array  $headers = array()) 

Parameters

$url
$fields
$name
$fileName
$fileBody
$mimeType
array $headers

sendRequest()

sendRequest(  $request) 

Parameters

$request

userAgent()

userAgent() 

parseHeaders()

parseHeaders(  $raw) 

Parameters

$raw

escapeQuotes()

escapeQuotes(  $str) 

Parameters

$str