CI_Xmlrpcs::serve PHP Method

serve() public method

Main Server Function
public serve ( ) : void
return void
    public function serve()
    {
        $r = $this->parseRequest();
        $payload = '<?xml version="1.0" encoding="' . $this->xmlrpc_defencoding . '"?' . '>' . "\n" . $this->debug_msg . $r->prepare_response();
        header('Content-Type: text/xml');
        header('Content-Length: ' . strlen($payload));
        exit($payload);
    }