The HttpRequest
PHP Manual

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 Manual