aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Zot.php
blob: 8c34dced1cb571e5839e84e52a09d6411bb802c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
/**
 * @file Zotlabs/Module/Zot.php
 *
 * @brief Zot endpoint.
 *
 */

namespace Zotlabs\Module;

use Zotlabs\Zot6 as ZotProtocol;

/**
 * @brief Zot module.
 *
 */

class Zot extends \Zotlabs\Web\Controller {

	function init() {
		$zot = new ZotProtocol\Receiver(new ZotProtocol\Zot6Handler());
		json_return_and_die($zot->run(),'application/x-zot+jzon');
	}

}