Falcon 🌎
Options

Options

Headers

$falcon->addHeaders(['Authorization: Bearer ...']);

Cookies

$falcon->addCookies(['token' => '...']);

Useragent

$falcon->setUseragent('...');

Method

$falcon->setMethod('...');

Custom options

You can either add new options to the existing list which is helpful when using custom drivers and you need to pass custom options to the driver:

$falcon->addOptions([
	'my_option' => '...'
]);

Or you can set the options (note that this will overwrite every option):

$falcon->setOptions([
	'method' => 'POST',
  'useragent' => '...'
]);