phpDocumentor http
transfer
[ class tree: http ] [ index: http ] [ all elements ]

Class: WindHttpCurl

Source Location: /http/transfer/WindHttpCurl.php

Class WindHttpCurl

Class Overview

Enter description here ...

Located in /http/transfer/WindHttpCurl.php [line 13]

AbstractWindHttp
   |
   --WindHttpCurl
Author(s): Information Tags:
Version:  $Id: WindHttpCurl.php 2973 2011-10-15 19:22:48Z yishuo $
Copyright:  ©2003-2103 phpwind.com
License:  http://www.windframework.com

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From AbstractWindHttp

AbstractWindHttp::$cookie
AbstractWindHttp::$data
AbstractWindHttp::$eno
AbstractWindHttp::$err
AbstractWindHttp::$header
AbstractWindHttp::$httpResource
AbstractWindHttp::$instance
AbstractWindHttp::$timeout
AbstractWindHttp::$url

Inherited From AbstractWindHttp

AbstractWindHttp::__construct()
声明受保护的构造函数,避免在类的外界实例化
AbstractWindHttp::buildArray()
以指定分隔符的形式来将数组转化成字符串
AbstractWindHttp::buildQuery()
构请查询字符串
AbstractWindHttp::clear()
请空数据,重新发送请求
AbstractWindHttp::close()
关闭请求
AbstractWindHttp::get()
get方式传值
AbstractWindHttp::getError()
取得http通信中的错误
AbstractWindHttp::getInstance()
获取http单例对象,对象唯一访问入口
AbstractWindHttp::open()
打开一个http请求
AbstractWindHttp::post()
发送post请求
AbstractWindHttp::request()
发送请求
AbstractWindHttp::requestByArray()
以数组格式请求
AbstractWindHttp::resonseLine()
响应用户请求,只返回一行数据
AbstractWindHttp::response()
响应用户的请求
AbstractWindHttp::send()
发送请求底层操作
AbstractWindHttp::setCookie()
设置cookie
AbstractWindHttp::setCookies()
批量设置要传送的cookie
AbstractWindHttp::setData()
设置data
AbstractWindHttp::setDatas()
批量设置要传送的数据
AbstractWindHttp::setHeader()
设置http头
AbstractWindHttp::setHeaders()
批量设置http头
AbstractWindHttp::setUrl()
设置url
AbstractWindHttp::__clone()
防止克隆

Inherited From AbstractWindHttp

AbstractWindHttp::GET
AbstractWindHttp::POST
AbstractWindHttp::_COOKIE
AbstractWindHttp::_DATA
AbstractWindHttp::_HEADER

[ Top ]
Method Summary
static void   getInstance()  
WindHttpCurl   __construct()  
void   __destruct()  
void   close()   释放资源
void   get()  
void   getError()  
void   open()  
void   post()  
void   request()  
void   requestByArray()  
void   resonseLine()  
void   response()  
void   send()  

[ Top ]
Methods
static method getInstance  [line 134]

  static void getInstance( [ $url = '']  )

Parameters:
   $url: 

API Tags:
Access:  public


Redefinition of:
AbstractWindHttp::getInstance()
获取http单例对象,对象唯一访问入口

[ Top ]
Constructor __construct  [line 15]

  WindHttpCurl __construct( [ $url = ''], [ $timeout = 5]  )

Parameters:
   $url: 
   $timeout: 

API Tags:
Access:  protected


Redefinition of:
AbstractWindHttp::__construct()
声明受保护的构造函数,避免在类的外界实例化

[ Top ]
Destructor __destruct  [line 141]

  void __destruct( )


API Tags:
Access:  public


[ Top ]
close  [line 60]

  void close( )

释放资源


API Tags:
Access:  public


Redefinition of:
AbstractWindHttp::close()
关闭请求

[ Top ]
get  [line 89]

  void get( [ $url = ''], [ $data = array()], [ $header = array()], [ $cookie = array()], [ $option = array()]  )

Parameters:
   $url: 
   $data: 
   $header: 
   $cookie: 
   $option: 

API Tags:
Access:  public


Redefinition of:
AbstractWindHttp::get()
get方式传值

[ Top ]
getError  [line 70]

  void getError( )


API Tags:
Access:  public


Redefinition of:
AbstractWindHttp::getError()
取得http通信中的错误

[ Top ]
open  [line 22]

  void open( )


API Tags:
Access:  public


Redefinition of:
AbstractWindHttp::open()
打开一个http请求

[ Top ]
post  [line 79]

  void post( [ $url = ''], [ $data = array()], [ $header = array()], [ $cookie = array()], [ $option = array()]  )

Parameters:
   $url: 
   $data: 
   $header: 
   $cookie: 
   $option: 

API Tags:
Access:  public


Redefinition of:
AbstractWindHttp::post()
发送post请求

[ Top ]
request  [line 32]

  void request( $name, [ $value = null]  )

Parameters:
   $name: 
   $value: 

API Tags:
Access:  public


Redefinition of:
AbstractWindHttp::request()
发送请求

[ Top ]
requestByArray  [line 39]

  void requestByArray( [ $opt = array()]  )

Parameters:
   $opt: 

API Tags:
Access:  public


Redefinition of:
AbstractWindHttp::requestByArray()
以数组格式请求

[ Top ]
resonseLine  [line 53]

  void resonseLine( )


API Tags:
See:  resonseLine()
Access:  public


Redefinition of:
AbstractWindHttp::resonseLine()
响应用户请求,只返回一行数据

[ Top ]
response  [line 46]

  void response( )


API Tags:
Access:  public


Redefinition of:
AbstractWindHttp::response()
响应用户的请求

[ Top ]
send  [line 99]

  void send( [ $method = self::GET], [ $options = array()]  )

Parameters:
   $method: 
   $options: 

API Tags:
Access:  public


Redefinition of:
AbstractWindHttp::send()
发送请求底层操作

[ Top ]

Documentation generated on Fri, 30 Mar 2012 11:43:34 +0800 by phpDocumentor 1.4.4