Skip to content

Commit

Permalink
use more links in start method description
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Oct 8, 2014
1 parent 687a49f commit fcb8046
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -53,7 +53,7 @@ app->start;
To run this example with the built-in development web server just put the
code into a file and start it with `morbo`.

$ morbo hello.pl
$ morbo ./hello.pl
Server available at http://127.0.0.1:3000.

$ curl http://127.0.0.1:3000/
Expand Down
5 changes: 3 additions & 2 deletions lib/Mojo/UserAgent.pm
Expand Up @@ -812,8 +812,9 @@ implied). You can also append a callback to perform requests non-blocking.
my $tx = $ua->start(Mojo::Transaction::HTTP->new);
Perform blocking request. You can also append a callback to perform requests
non-blocking.
Perform blocking request for a custom L<Mojo::Transaction::HTTP> object, which
can be prepared manually or with L</"build_tx">. You can also append a
callback to perform requests non-blocking.
my $tx = $ua->build_tx(GET => 'http://example.com');
$ua->start($tx => sub {
Expand Down

0 comments on commit fcb8046

Please sign in to comment.