The Hubzilla
 All Classes Namespaces Files Functions Variables Pages
Zotlabs\Lib\SuperCurl Class Reference

wrapper for z_fetch_url() which can be instantiated with several built-in parameters and these can be modified and re-used. Useful for CalDAV and other processes which need to authenticate and set lots of CURL options (many of which stay the same from one call to the next). More...

Public Member Functions

 curl_read ($ch, $fh, $size)
 
 __construct ($opts=array())
 
 exec ()
 

Public Attributes

 $filepos = 0
 
 $filehandle = 0
 
 $request_data = ''
 

Private Member Functions

 set_data ($s)
 
 set ($opts=array())
 

Private Attributes

 $auth
 
 $url
 
 $curlopt = array()
 
 $headers = null
 
 $request_method = 'GET'
 
 $upload = false
 
 $cookies = false
 

Detailed Description

wrapper for z_fetch_url() which can be instantiated with several built-in parameters and these can be modified and re-used. Useful for CalDAV and other processes which need to authenticate and set lots of CURL options (many of which stay the same from one call to the next).

Constructor & Destructor Documentation

Zotlabs\Lib\SuperCurl::__construct (   $opts = array())

Member Function Documentation

Zotlabs\Lib\SuperCurl::curl_read (   $ch,
  $fh,
  $size 
)
Zotlabs\Lib\SuperCurl::exec ( )
Zotlabs\Lib\SuperCurl::set (   $opts = array())
private
Zotlabs\Lib\SuperCurl::set_data (   $s)
private

Member Data Documentation

Zotlabs\Lib\SuperCurl::$auth
private
Zotlabs\Lib\SuperCurl::$cookies = false
private
Zotlabs\Lib\SuperCurl::$curlopt = array()
private
Zotlabs\Lib\SuperCurl::$filehandle = 0
Zotlabs\Lib\SuperCurl::$filepos = 0
Zotlabs\Lib\SuperCurl::$headers = null
private
Zotlabs\Lib\SuperCurl::$request_data = ''
Zotlabs\Lib\SuperCurl::$request_method = 'GET'
private
Zotlabs\Lib\SuperCurl::$upload = false
private
Zotlabs\Lib\SuperCurl::$url
private

The documentation for this class was generated from the following file: