You could always have some random-generated-at-startup "shutdown token"
that you send through the WebSocket server itself, triggering it to break
out of the loop.
On Mon, Sep 12, 2016 at 10:33 AM Sean McArthur
wrote:
> >
> > This may be a silly question, but why doesn't hyper come with
> > WebSo
>
> This may be a silly question, but why doesn't hyper come with
> WebSockets support out of the box? It seems like "part of" HTTP to
> some extent.
>
Sorry this is offtopic from the subject, but just wanted to address the
question:
You won't find websockets in hyper for the same reason you won'
On Mon, Sep 12, 2016 at 1:45 PM, Eddy Bruel wrote:
> 3. I found another websocket library for Rust, called "ws". Unlike
> rust-websocket, ws seems to have a proper shutdown story (one can call a
> shutdown() method on a Sender, which can be cloned between threads). It
> also seems to be a bit more
3 matches
Mail list logo