Added a method to expose the flashsocket
This commit is contained in:
parent
cd9a3cb43a
commit
478bdc10c5
@ -91,7 +91,7 @@ class App {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the FlashPolicy running in the FlashServer. Modifications of this object take effect immediately!
|
||||
* Returns the FlashPolicy running in the flash server. Modifications of this object take effect immediately!
|
||||
*
|
||||
* @return FlashPolicy
|
||||
*/
|
||||
@ -99,6 +99,15 @@ class App {
|
||||
return $this->flashServer->getApp();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the FlashSocket of the flash server.
|
||||
*
|
||||
* @return \React\Socket\ServerInterface
|
||||
*/
|
||||
public function getFlashSocket() {
|
||||
return $this->flashServer->getSocket();
|
||||
}
|
||||
|
||||
/**
|
||||
* Add an endpiont/application to the server
|
||||
* @param string $path The URI the client will connect to
|
||||
|
Loading…
Reference in New Issue
Block a user