Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed alias links in WebSocket transaction
  • Loading branch information
kraih committed Nov 5, 2011
1 parent c44f161 commit c699fcf
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions lib/Mojo/Transaction/WebSocket.pm
Expand Up @@ -448,7 +448,7 @@ Raw WebSocket data to write.
my $connection = $ws->connection;
Alias for C<$ws-E<gt>handshake-E<gt>connection>.
Alias for L<Mojo::Transaction/"connection">.
=head2 C<finish>
Expand All @@ -466,13 +466,13 @@ True.
my $local_address = $ws->local_address;
Alias for C<$ws-E<gt>handshake-E<gt>local_address>.
Alias for L<Mojo::Transaction/"local_address">.
=head2 C<local_port>
my $local_port = $ws->local_port;
Alias for C<$ws-E<gt>handshake-E<gt>local_port>.
Alias for L<Mojo::Transaction/"local_port">.
=head2 C<parse_frame>
Expand All @@ -484,37 +484,35 @@ Parse WebSocket frame.
my $remote_address = $ws->remote_address;
Alias for C<$ws-E<gt>handshake-E<gt>remote_address>.
Alias for L<Mojo::Transaction/"remote_address">.
=head2 C<remote_port>
my $remote_port = $ws->remote_port;
Alias for C<$ws-E<gt>handshake-E<gt>remote_port>.
Alias for L<Mojo::Transaction/"remote_port">.
=head2 C<req>
my $req = $ws->req;
Alias for C<$ws-E<gt>handshake-E<gt>req>.
Usually refers to a L<Mojo::Message::Request> object.
Alias for L<Mojo::Transaction/"req">.
$ws->req->headers->header('X-Bender' => 'Bite my shiny metal ass!');
=head2 C<res>
my $res = $ws->res;
Alias for C<$ws-E<gt>handshake-E<gt>res>.
Usually refers to a L<Mojo::Message::Response> object.
Alias for L<Mojo::Transaction/"res">.
$ws->res->headers->header('X-Bender' => 'Bite my shiny metal ass!');
=head2 C<resume>
$ws = $ws->resume;
Alias for C<$ws-E<gt>handshake-E<gt>resume>.
Alias for L<Mojo::Transaction/"resume">.
=head2 C<send_frame>
Expand Down

0 comments on commit c699fcf

Please sign in to comment.