![]() $policy = new Ratchet\Component\Server\FlashPolicyComponent(); $policy->addAllowedAccess('192.168.1.120', '8000'); $io = new Ratchet\Component\Server\IOServerComponent($policy); $io->run(843); |
||
---|---|---|
.. | ||
Ratchet/Tests | ||
bootstrap.php |
![]() $policy = new Ratchet\Component\Server\FlashPolicyComponent(); $policy->addAllowedAccess('192.168.1.120', '8000'); $io = new Ratchet\Component\Server\IOServerComponent($policy); $io->run(843); |
||
---|---|---|
.. | ||
Ratchet/Tests | ||
bootstrap.php |