Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Oct 12, 2011
1 parent 98426e8 commit 569ea90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojo/UserAgent.pm
Expand Up @@ -945,7 +945,7 @@ the exact same arguments as L<Mojo::UserAgent::Transactor/"websocket">.
$ua->websocket('ws://localhost:3000/echo' => sub {
my ($self, $tx) = @_;
$tx->on(finish => sub { Mojo::IOLoop->stop });
$tx->on(finish => sub { Mojo::IOLoop->stop });
$tx->on(message => sub {
my ($tx, $message) = @_;
say "$message\n";
Expand Down

0 comments on commit 569ea90

Please sign in to comment.