Skip to content

Commit

Permalink
include Mojo::IOLoop too
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 24, 2017
1 parent 75fae32 commit c74b998
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Mojolicious/Guides/Cookbook.pod
Expand Up @@ -1392,6 +1392,7 @@ C<http+unix://> and C<ws+unix://> schemes, and pass along a percent encoded path
(C</> becomes C<%2F>) instead of a hostname.

use Mojo::UserAgent;
use Mojo::IOLoop;

# GET request via UNIX domain socket
my $ua = Mojo::UserAgent->new;
Expand Down

0 comments on commit c74b998

Please sign in to comment.