PHP Class SwooleLiveServer, zys

Show file Open project: qieangel2013/zys Class Usage Examples

Public Properties

Property Type Description
$instance

Public Methods

Method Description
__construct ( )
getInstance ( )
onClose ( $server, $fd )
onMessage ( $server, $frame )
onOpen ( $server, $req )

Method Details

__construct() public method

public __construct ( )

getInstance() public static method

public static getInstance ( )

onClose() public method

public onClose ( $server, $fd )

onMessage() public method

public onMessage ( $server, $frame )

onOpen() public method

public onOpen ( $server, $req )

Property Details

$instance public static property

public static $instance