Add shared compression for pub/sub
This commit is contained in:
@@ -29,7 +29,7 @@ int main() {
|
||||
}
|
||||
|
||||
/* Simply broadcast every single message we get */
|
||||
ws->publish("broadcast", message, opCode);
|
||||
ws->publish("broadcast", message, opCode, true);
|
||||
},
|
||||
.drain = [](auto *ws) {
|
||||
/* Check getBufferedAmount here */
|
||||
|
||||
Reference in New Issue
Block a user