File path: dist/twist/Core/Utilities/Curl.utility.php
Namespace: Twist\Core\Utilities
Extends: Base
setUserAgent
— Set a custom user agent header to be used when making the request, pass in null to use default user agent
Name | Description |
---|---|
[$strUserAgent = null] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strUserAgent = null;
//Call the function setUserAgent with the example vars
Twist::Curl() -> setUserAgent($strUserAgent);