Places
Home
Graphs
Prefixes
Admin
Users
Settings
Plugins
Statistics
Repository
Load local file
Load from HTTP
Load from library
Remove triples
Clear repository
RDF quality heuristics
Query
YASGUI SPARQL Editor
Simple Form
SWISH Prolog shell
Help
Documentation
Tutorial
Roadmap
HTTP Services
Login
6 library(http/hub): Manage a hub for websockets
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Packages
SWI-Prolog HTTP support
library(http/hub): Manage a hub for websockets
hub_create/3
current_hub/2
hub_add/3
hub_member/2
hub_send/2
hub_broadcast/2
hub_broadcast/3
Availability:
:- use_module(
library(http/hub)
).
[det]
hub_add
(
+Hub, +WebSocket, ?Id
)
Add a
WebSocket
to the hub.
Id
is used to identify this user. It may be provided (as a ground term) or is generated as a UUID.
ClioPatria
(version
V3.1.1-40-g9d9e003
)