File path: dist/twist/Core/Utilities/Curl.utility.php
Namespace: Twist\Core\Utilities
Extends: Base
setContentType
— Set the content type of the request, this will be merged with the headers array if required
Name | Description |
---|---|
$strContentType | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strContentType = 'foo';
//Call the function setContentType with the example vars
Twist::Curl() -> setContentType($strContentType);