You are here

function soap_server::getHTTPContentType in Salesforce Suite 5

Same name in this branch
  1. 5 includes/nusoap.php \soap_server::getHTTPContentType()
  2. 5 includes/nusoap.orig.php \soap_server::getHTTPContentType()
Same name and namespace in other branches
  1. 5.2 includes/nusoap.php \soap_server::getHTTPContentType()
  2. 5.2 includes/nusoap.orig.php \soap_server::getHTTPContentType()

* gets the HTTP content type for the current response. * * Note: getHTTPBody must be called before this. * *

Return value

string the HTTP content type for the current response. * @access private

2 calls to soap_server::getHTTPContentType()
soap_server::send_response in includes/nusoap.php
* sends an HTTP response * * The following fields are set by this function (when successful) * * outgoing_headers * response * * @access private
soap_server::send_response in includes/nusoap.orig.php
* sends an HTTP response * * The following fields are set by this function (when successful) * * outgoing_headers * response * * @access private

File

includes/nusoap.php, line 3871

Class

soap_server
soap_server allows the user to create a SOAP server that is capable of receiving messages and returning responses

Code

function getHTTPContentType() {
  return 'text/xml';
}