Skip to content

Commit

Permalink
arguments can also be a hashref
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 12, 2017
1 parent cb5a52e commit 7388440
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/Mojo/IOLoop/Client.pm
Expand Up @@ -268,6 +268,7 @@ implements the following new ones.
=head2 connect
$client->connect(address => '127.0.0.1', port => 3000);
$client->connect({address => '127.0.0.1', port => 3000});
Open a socket connection to a remote host. Note that non-blocking name
resolution depends on L<Net::DNS::Native> (0.15+), SOCKS5 support on
Expand Down
1 change: 1 addition & 0 deletions lib/Mojo/IOLoop/Server.pm
Expand Up @@ -234,6 +234,7 @@ Check if connections are currently being accepted.
=head2 listen
$server->listen(port => 3000);
$server->listen({port => 3000});
Create a new listen socket. Note that TLS support depends on L<IO::Socket::SSL>
(1.94+).
Expand Down

0 comments on commit 7388440

Please sign in to comment.