Lines Matching refs:options
40 * @param array $options an array of options. Possible keys:
52 $options = [] argument
57 $this->httpRequestFactory = isset($options['httpRequestFactory'])
58 ? $options['httpRequestFactory']
61 if (isset($options['host'])) {
62 $this->host = $options['host'];
64 if (isset($options['userAgent'])) {
65 $this->userAgentPrefix = $options['userAgent'] . ' ';
68 $this->caBundle = isset($options['caBundle']) ?
69 $this->caBundle = $options['caBundle'] : $this->getCaBundle();
71 if (isset($options['connectTimeout'])) {
72 $this->connectTimeout = $options['connectTimeout'];
74 if (isset($options['timeout'])) {
75 $this->timeout = $options['timeout'];
78 if (isset($options['proxy'])) {
79 $this->proxy = $options['proxy'];