Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
updated some more class descriptions
  • Loading branch information
kraih committed Nov 16, 2011
1 parent 3056263 commit ca79cff
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
15 changes: 8 additions & 7 deletions lib/Mojo/IOLoop.pm
Expand Up @@ -512,8 +512,8 @@ L<Mojo::IOLoop> implements the following attributes.
my $class = $loop->client_class;
$loop = $loop->client_class('Mojo::IOLoop::Client');
Class to be used for opening TCP connections to remote hosts with the
C<client> method, defaults to L<Mojo::IOLoop::Client>.
Class to be used for opening TCP connections with the C<client> method,
defaults to L<Mojo::IOLoop::Client>.
Note that this attribute is EXPERIMENTAL and might change without warning!
=head2 C<connect_timeout>
Expand Down Expand Up @@ -602,16 +602,17 @@ Note that this attribute is EXPERIMENTAL and might change without warning!
my $class = $loop->server_class;
$loop = $loop->server_class('Mojo::IOLoop::Server');
Class to be used for accepting incoming TCP connections with the C<server>
method, defaults to L<Mojo::IOLoop::Server>.
Class to be used for accepting TCP connections with the C<server> method,
defaults to L<Mojo::IOLoop::Server>.
Note that this attribute is EXPERIMENTAL and might change without warning!
=head2 C<stream_class>
my $class = $loop->stream_class;
$loop = $loop->stream_class('Mojo::IOLoop::Stream');
Class to be used for I/O streams, defaults to L<Mojo::IOLoop::Stream>.
Class to be used by C<client> and C<server> methods for I/O streams, defaults
to L<Mojo::IOLoop::Stream>.
Note that this attribute is EXPERIMENTAL and might change without warning!
=head1 METHODS
Expand All @@ -626,7 +627,7 @@ following new ones.
my $id = $loop->client(address => '127.0.0.1', port => 3000, sub {...});
my $id = $loop->client({address => '127.0.0.1', port => 3000}, sub {...});
Open a TCP connection to a remote host with C<client_class>, which is usually
Open TCP connection with C<client_class>, which is usually
L<Mojo::IOLoop::Client>, takes the same arguments as
L<Mojo::IOLoop::Client/"connect">.
Note that this method is EXPERIMENTAL and might change without warning!
Expand Down Expand Up @@ -721,7 +722,7 @@ responsiveness.
my $id = $loop->server(port => 3000, sub {...});
my $id = $loop->server({port => 3000}, sub {...});
Accept incoming TCP connections with C<server_class>, which is usually
Accept TCP connections with C<server_class>, which is usually
L<Mojo::IOLoop::Server>, takes the same arguments as
L<Mojo::IOLoop::Server/"listen">.
Note that this method is EXPERIMENTAL and might change without warning!
Expand Down
3 changes: 1 addition & 2 deletions lib/Mojo/IOLoop/Client.pm
Expand Up @@ -174,8 +174,7 @@ Mojo::IOLoop::Client - Non-blocking TCP client
=head1 DESCRIPTION
L<Mojo::IOLoop::Client> opens non-blocking TCP connections for
L<Mojo::IOLoop>.
L<Mojo::IOLoop::Client> opens TCP connections for L<Mojo::IOLoop>.
Note that this module is EXPERIMENTAL and might change without warning!
=head1 EVENTS
Expand Down
4 changes: 2 additions & 2 deletions lib/Mojo/IOLoop/Resolver.pm
Expand Up @@ -359,8 +359,8 @@ Mojo::IOLoop::Resolver - Non-blocking DNS stub resolver
=head1 DESCRIPTION
L<Mojo::IOLoop::Resolver> is a minimalistic non-blocking I/O DNS stub
resolver used by L<Mojo:IOLoop>.
L<Mojo::IOLoop::Resolver> is a minimalistic DNS stub resolver used by
L<Mojo:IOLoop>.
Note that this module is EXPERIMENTAL and might change without warning!
=head1 ATTRIBUTES
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/IOLoop/Server.pm
Expand Up @@ -280,7 +280,7 @@ Mojo::IOLoop::Server - Non-blocking TCP server
=head1 DESCRIPTION
L<Mojo::IOLoop::Server> accepts incoming TCP connections for L<Mojo::IOLoop>.
L<Mojo::IOLoop::Server> accepts TCP connections for L<Mojo::IOLoop>.
Note that this module is EXPERIMENTAL and might change without warning!
=head1 EVENTS
Expand Down

0 comments on commit ca79cff

Please sign in to comment.