We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3886b6a commit 737cf6bCopy full SHA for 737cf6b
1 file changed
server/server.php
@@ -15,9 +15,13 @@ public function __construct()
15
{
16
$this->clients = new \SplObjectStorage;
17
$this->subscriptions = array();
18
+ $this->subprotocols = array("solid-0.1");
19
}
20
- public function onOpen(ConnectionInterface $conn) {
21
+ public function getSubProtocols() {
22
+ return $this->subprotocols;
23
+ }
24
+ public function onOpen(ConnectionInterface $conn) {
25
26
// Store the new connection in $this->clients
27
$this->clients->attach($conn);
0 commit comments