选择语言 :

 Module_HttpClient_Driver_Fsock::set_option

设置curl参数

//TODO 不支持自定义参数

HttpClient_Driver_Fsock Module_HttpClient_Driver_Fsock::set_option( string $key , value $value )

参数列表

参数 类型 描述 默认值
$key string $key
$value value $value
返回值
  • HttpClient_Driver_Fsock
File: ./modules/httpclient/driver/fsock.class.php
public function set_option($key, $value)
{
    return $this;
}