Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: real-time output from Mojolicious WebSockets?

by Anonymous Monk
on Dec 19, 2014 at 21:43 UTC ( [id://1110895]=note: print w/replies, xml ) Need Help??


in reply to Re: real-time output from Mojolicious WebSockets?
in thread real-time output from Mojolicious WebSockets?

So I look at this https://metacpan.org/pod/Mojolicious::Lite#WebSockets it says $c->on(json as in a request of content type json

https://metacpan.org/pod/Mojolicious::Controller#on confirms # Receive JSON object via WebSocket message as does https://metacpan.org/pod/Mojo::Transaction::WebSocket#json

So subscribing to a 'You should never see this.' event is weird ... probably won't work ... I think Mojo should reject this event, but it probably doesn't die because of something or other (register events something?)

  • Comment on Re^2: real-time output from Mojolicious WebSockets?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1110895]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-25 07:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found