Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: real-time output from Mojolicious WebSockets?

by Anonymous Monk
on Dec 19, 2014 at 13:34 UTC ( #1110853=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $self->on(&myapp($tx) => sub { ...
    
  2. or download this
    $self->on('You should never see this.' => sub { ...
    
  3. or download this
    $ws->send("Time is: " . scalar(localtime()));
    ## odd, we never see this output
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2021-06-25 11:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (135 votes). Check out past polls.

    Notices?