(PECL pecl_http >= 0.10.0)
HttpRequest::setOptions — Set options
Set the request options to use.
请查阅完整的 request 选项组 列表。
an associative array, which values will overwrite the currently set request options; if empty or omitted, the options of the HttpRequest object will be reset
成功时返回 TRUE, 或者在失败时返回 FALSE.