PHP Class Hprose\Swoole\WebSocket\Server

Inheritance: extends Service
Show file Open project: hprose/hprose-swoole

Public Properties

Property Type Description
$server
$settings

Public Methods

Method Description
__construct ( $uri, $mode = SWOOLE_BASE )
addListener ( $uri )
listen ( $host, $port, $type )
on ( $name, $callback )
set ( $settings )
start ( )

Private Methods

Method Description
parseUrl ( $uri )

Method Details

__construct() public method

public __construct ( $uri, $mode = SWOOLE_BASE )

addListener() public method

public addListener ( $uri )

listen() public method

public listen ( $host, $port, $type )

on() public method

public on ( $name, $callback )

set() public method

public set ( $settings )

start() public method

public start ( )

Property Details

$server public property

public $server

$settings public property

public $settings