Update usage_documentation.txt
cleanup
This commit is contained in:
parent
697d85f0f2
commit
6bb342f26e
@ -24,8 +24,8 @@ Sample ManiaControl Implementation (for ManiaControl to ManiaControl connections
|
|||||||
|
|
||||||
//Callee Side
|
//Callee Side
|
||||||
$this->maniaControl->getCommunicationManager()->registerCommunicationListener(CommunicationMethods::GET_SERVER_CHAT, $this, function ($data) {
|
$this->maniaControl->getCommunicationManager()->registerCommunicationListener(CommunicationMethods::GET_SERVER_CHAT, $this, function ($data) {
|
||||||
return new CommunicationAnswer($this->chatBuffer);
|
return new CommunicationAnswer($this->chatBuffer);
|
||||||
});
|
});
|
||||||
##php code end
|
##php code end
|
||||||
|
|
||||||
Sample Web Implementation (to call ManiaControl from a website)
|
Sample Web Implementation (to call ManiaControl from a website)
|
||||||
@ -59,4 +59,4 @@ Sample Web Implementation (to call ManiaControl from a website)
|
|||||||
|
|
||||||
//Close the Socket
|
//Close the Socket
|
||||||
fclose($socket);
|
fclose($socket);
|
||||||
##php code end
|
##php code end
|
||||||
|
Loading…
Reference in New Issue
Block a user