PHP
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

HttpRequest::setUrl> <HttpRequest::setRawPostData
Last updated: Fri, 30 Jan 2009

view this page in

HttpRequest::setSslOptions

(PECL pecl_http >= 0.10.0)

HttpRequest::setSslOptionsSSL オプションを設定する

説明

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

SSL オプションを設定します。

パラメータ

options

SSL オプションを含む連想配列。 空の配列を渡したり省略したりした場合は、 SSL オプションの設定が削除されます。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。



add a note add a note User Contributed Notes
HttpRequest::setSslOptions
Andy Christianson
24-Jul-2008 08:12
This page does not describe the possible keys for the input array.

Here are the SSL option keys from the cURL source code as of 2008-07-24:

CERT: String that holds file name of the SSL certificate to use
CERTTYPE: String that holds file type of the SSL certificate to use
KEY: String that holds file name of the SSL certificate to use
KEYTYPE: String that holds file type of the SSL certificate to use
PASSWD: String that holds the SSL or SSH private key password.
ENGINE: String that holds the SSL crypto engine.
ENGINE_DEFAULT: flag to set engine as default.

HttpRequest::setUrl> <HttpRequest::setRawPostData
Last updated: Fri, 30 Jan 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites