Function smf_serverResponse
Outputs a response. It assumes the data is already a string.
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs.php
string |
$data = '' |
The data to print |
string |
$type = 'content-type: application/json' |
The content type. Defaults to Json. |