mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-20 20:46:16 +02:00
Streaming clients can connect via Websockets
This commit is contained in:
parent
5723791f8a
commit
01ce9a60c0
19 changed files with 789 additions and 356 deletions
|
@ -28,7 +28,7 @@
|
|||
* Messages are sent to the client with the "send" method.
|
||||
* Received messages from the client are passed to the ControlMessageReceiver callback
|
||||
*/
|
||||
class ControlSessionTcp : public ControlSession, public std::enable_shared_from_this<ControlSession>
|
||||
class ControlSessionTcp : public ControlSession
|
||||
{
|
||||
public:
|
||||
/// ctor. Received message from the client are passed to MessageReceiver
|
||||
|
@ -37,9 +37,6 @@ public:
|
|||
void start() override;
|
||||
void stop() override;
|
||||
|
||||
/// Sends a message to the client (synchronous)
|
||||
bool send(const std::string& message) override;
|
||||
|
||||
/// Sends a message to the client (asynchronous)
|
||||
void sendAsync(const std::string& message) override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue