The HttpRequest
PHP 手册

HttpRequest::setSslOptions

(PECL pecl_http >= 0.10.0)

HttpRequest::setSslOptionsSet ssl options

说明

public bool HttpRequest::setSslOptions ([ array $options ] )

Set SSL options.

参数

options

an associative array containing any SSL specific options; if empty or omitted, the SSL options will be reset

返回值

如果成功则返回 TRUE,失败则返回 FALSE


The HttpRequest
PHP 手册