PHP Interface Ratchet\ConnectionInterface

Mostrar archivo Open project: cboden/ratchet Interface Usage Examples

Public Methods

Method Description
close ( ) Close the connection
send ( string $data ) : Ratchet\ConnectionInterface Send data to the connection

Method Details

close() public method

Close the connection
public close ( )

send() public method

Send data to the connection
public send ( string $data ) : Ratchet\ConnectionInterface
$data string
return Ratchet\ConnectionInterface