AddHeader ( string $name, string $value )
| Version | Description |
| 1.0 | If RETS-Version isn't specifically set, it now defaults to RETS/1.5. If User-Agent isn't specifically set, it now defaults to PHRETS/1.0. If Accept isn't specifically set, it now defaults to */*. This makes calling AddHeader() optional prior to connecting |
Add a custom User-Agent (needed when using User-Agent Authentication)
$rets->AddHeader("User-Agent", "CustomApp/1.0");