Method | Description | |
---|---|---|
get ( $url, array $headers = [] ) | ||
multipartPost ( $url, $fields, $name, $fileName, $fileBody, $mimeType = null, array $headers = [] ) | ||
post ( $url, $body, array $headers = [] ) | ||
sendRequest ( $request ) |
Method | Description | |
---|---|---|
escapeQuotes ( $str ) | ||
parseHeaders ( $raw ) | ||
userAgent ( ) |
public static multipartPost ( $url, $fields, $name, $fileName, $fileBody, $mimeType = null, array $headers = [] ) | ||
$headers | array |