API Documentation

Http/Client/Adapter/Interface.php

Interfaces
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Http
subpackage
Client_Adapter
version
$Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
Interfaces
Zend_Http_Client_Adapter_Interface

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Http_Client_Adapter_Interface

category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Http
subpackage
Client_Adapter
Methods
setConfig
connect
write
read
close

Description

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.

Methods

close

close( ) :

Close the connection to the server

Details
visibility
public
final
false
static
false

connect

connect( string $host, int $port = 80, boolean $secure = false ) :

Connect to the remote server

Arguments
$host
string
$port
int
$secure
boolean
Details
visibility
public
final
false
static
false

read

read( ) : string

Read response from server

Output
string
Details
visibility
public
final
false
static
false

setConfig

setConfig( array $config = array ) :

Set the configuration array for the adapter

Arguments
$config
array
Details
visibility
public
final
false
static
false

write

write( string $method, Zend_Uri_Http $url, string $http_ver = 1.1, array $headers = array, string $body ) : string

Send request to the remote server

Arguments
$method
string
$url
Zend_Uri_Http
$http_ver
string
$headers
array
$body
string
Output
string
Request as text
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.