\Nano4\UtilsCurl

An object-oriented wrapper for the PHP cURL library.

TODO: file uploads.

Summary

Methods
Properties
Constants
__construct()
__get()
__set()
__unset()
__isset()
content_type()
init()
end()
request()
getError()
getInfo()
get()
post()
$strict
$raw_headers
$headers
No constants found
get_map()
$curl
$curl_opts
$curl_map
$curl_info
N/A
No private methods found
No private properties found
N/A

Properties

$strict

$strict : 

Type

$raw_headers

$raw_headers : 

Type

$headers

$headers : 

Type

$curl

$curl : 

Type

$curl_opts

$curl_opts : 

Type

$curl_map

$curl_map : 

Type

$curl_info

$curl_info : 

Type

Methods

__construct()

__construct(  $opts = array()) 

Parameters

$opts

__get()

__get(  $name) 

Parameters

$name

__set()

__set(  $name,   $value) 

Parameters

$name
$value

__unset()

__unset(  $name) 

Parameters

$name

__isset()

__isset(  $name) 

Parameters

$name

content_type()

content_type(  $type) 

Parameters

$type

init()

init() 

end()

end() 

request()

request(  $url) 

Parameters

$url

getError()

getError() 

getInfo()

getInfo(  $info = 'code') 

Parameters

$info

get()

get(  $url) 

Parameters

$url

post()

post(  $url,   $postdata = Null,   $add_length = False) 

Parameters

$url
$postdata
$add_length

get_map()

get_map(  $name) 

Parameters

$name