set_curlopts ( $curlopts )

Set additional CURLOPT settings. These will merge with the default settings, and override if there is a duplicate.

Access

public

Parameters

Parameter

Type

Required

Description

$curlopts

array

Required

A set of key-value pairs that set CURLOPT options. These will merge with the existing CURLOPTs, and ones passed here will override the defaults. Keys should be the CURLOPT_* constants, not strings.

Returns

Type

Description

$this

A reference to the current instance.

Source

Copyright © 2010–2013 Amazon Web Services, LLC


Feedback