PHP Interface ratchet\ConnectionInterface

Show file Open project: cboden/ratchet

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