lithium\net\Socket::set()

public method

Sets the options to be used in subsequent requests.

Parameters

  • array $flags

    If $values is an array, $flags will be used as the keys to an associative array of curl options. If $values is not set, then $flags will be used as the associative array.

  • array $value

    If set, this array becomes the values for the associative array of curl options.

Returns

void

Source

	public function set($flags, $value = null) {}