AddHeader
<?php use Chilkat2\Rest; $rest = new Rest(); $rest->AddHeader('User-Agent', 'MyApplication/1.0'); // ... // ... // ...