Class jHttp

Description

To send http request

  • see: netHttp

Located in /utils/jHttp.class.php (line 20)

netHttp
   |
   --jHttp
Variable Summary
mixed $user_agent
Method Summary
void debug ( $msg, [ $object = false])
boolean delete (string $path, [array $data = false])
boolean put (string $path, array $data, [array $charset = null])
Variables
mixed $user_agent = 'Clearbricks/Jelix HTTP Client' (line 21)
  • access: protected
Methods
debug (line 69)
  • access: protected
void debug ( $msg, [ $object = false])
  • $msg
  • $object
delete (line 36)

DELETE Request

Executes a DELETE request for the specified path. If $data is specified, appends it to a query string as part of the get request. $data can be an array of key value pairs, in which case a matching query string will be constructed. Returns true on success.

  • access: public
boolean delete (string $path, [array $data = false])
  • string $path: Request path
  • array $data: Request parameters
put (line 58)

PUT Request

Executes a PUT request for the specified path.

  • access: public
boolean put (string $path, array $data, [array $charset = null])
  • string $path: Request path
  • array $data: Request parameters
  • array $charset: Request charset

Documentation generated on Mon, 26 Oct 2015 21:54:21 +0100 by phpDocumentor 1.4.3