The HttpRequest
PHP Manual

HttpRequest::addSslOptions

(PECL pecl_http >= 0.12.0)

HttpRequest::addSslOptionsAdd ssl options

说明

public bool HttpRequest::addSslOptions ( array $options )

Set additional SSL options.

参数

options

an associative array as parameter containing additional SSL specific options

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE.


The HttpRequest
PHP Manual