The WS
argument must be a websocket client which is represented as
a list. All connected clients are stored in the environment associated
with a webserver in the client_sockets
list. Because each connected
client is itself a list, be careful to access a single client element,
for example with the '[[' indexing operator, shown here accessing the
first client socket:
WS$client_sockets[[1]]
.