PHP Class ElephantIO\Engine\SocketIO\Version1X

Based on the work of Mathieu Lallemand (@lalmat)
Author: Baptiste ClaviĆ© ([email protected])
Inheritance: extends ElephantIO\Engine\AbstractSocketIO
Show file Open project: wisembly/elephant.io

Public Methods

Method Description
close ( ) {@inheritDoc}
connect ( ) {@inheritDoc}
emit ( $event, array $args ) {@inheritDoc}
getName ( ) {@inheritDoc}
of ( $namespace ) {@inheritDoc}
write ( $code, $message = null ) {@inheritDoc}

Protected Methods

Method Description
getDefaultOptions ( ) {@inheritDoc}
handshake ( ) Does the handshake with the Socket.io server and populates the session value object

Private Methods

Method Description
upgradeTransport ( ) Upgrades the transport to WebSocket

Method Details

close() public method

{@inheritDoc}
public close ( )

connect() public method

{@inheritDoc}
public connect ( )

emit() public method

{@inheritDoc}
public emit ( $event, array $args )
$args array

getDefaultOptions() protected method

{@inheritDoc}
protected getDefaultOptions ( )

getName() public method

{@inheritDoc}
public getName ( )

handshake() protected method

Does the handshake with the Socket.io server and populates the session value object
protected handshake ( )

of() public method

{@inheritDoc}
public of ( $namespace )

write() public method

{@inheritDoc}
public write ( $code, $message = null )