[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/Http/Client/Adapter/ -> Interface.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
Version: $Id$
File Size: 78 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Zend_Http_Client_Adapter_Interface:: (5 methods):
  setConfig()
  connect()
  write()
  read()
  close()


Interface: Zend_Http_Client_Adapter_Interface  - X-Ref

An interface description for Zend_Http_Client_Adapter classes.

These classes are used as connectors for Zend_Http_Client, performing the
tasks of connecting, writing, reading and closing connection to the server.

setConfig($config = array()   X-Ref
Set the configuration array for the adapter

param: array $config

connect($host, $port = 80, $secure = false)   X-Ref
Connect to the remote server

param: string  $host
param: int     $port
param: boolean $secure

write($method, $url, $http_ver = '1.1', $headers = array()   X-Ref
Send request to the remote server

param: string        $method
param: Zend_Uri_Http $url
param: string        $http_ver
param: array         $headers
param: string        $body
return: string Request as text

read()   X-Ref
Read response from server

return: string

close()   X-Ref
Close the connection to the server




Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1