src/Connection.php
public function sendMessage(Message $message)
    {
        $this->currentId++;
        $messageData = $message->convertToRconData($this->currentId);
        $this->client->write($messageData);

        return $this->getResponseMessage();
    }
public function sendMessage(Message $message)
    {
        $this->currentId++;
        $messageData = $message->convertToRconData($this->currentId);
        $this->client->write($messageData);

        return $this->getResponseMessage();
    }
public function sendMessage ( Message $ message ) { $ this -> currentId ++ ; $ messageData = $ message -> convertToRconData ( $ this -> currentId ) ; $ this -> client -> write ( $ messageData ) ; return $ this -> getResponseMessage ( ) ; }
Send a RCON message.


@param Message $message

@return Message
Send a RCON message .