Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed cookie jar documentation
  • Loading branch information
kraih committed Aug 22, 2012
1 parent 9ab9f00 commit 4e1e045
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions lib/Mojo/Cache.pm
Expand Up @@ -48,8 +48,8 @@ L<Mojo::Cache> implements the following attributes.
=head2 C<max_keys>
my $max_keys = $cache->max_keys;
$cache = $cache->max_keys(50);
my $max = $cache->max_keys;
$cache = $cache->max_keys(50);
Maximum number of cache keys, defaults to C<100>.
Expand Down
8 changes: 4 additions & 4 deletions lib/Mojo/Server/Daemon.pm
Expand Up @@ -389,15 +389,15 @@ TLS verification mode, defaults to C<0x03>.
=head2 C<max_clients>
my $max_clients = $daemon->max_clients;
$daemon = $daemon->max_clients(1000);
my $max = $daemon->max_clients;
$daemon = $daemon->max_clients(1000);
Maximum number of parallel client connections, defaults to C<1000>.
=head2 C<max_requests>
my $max_requests = $daemon->max_requests;
$daemon = $daemon->max_requests(100);
my $max = $daemon->max_requests;
$daemon = $daemon->max_requests(100);
Maximum number of keep alive requests per connection, defaults to C<25>.
Expand Down
8 changes: 4 additions & 4 deletions lib/Mojo/UserAgent.pm
Expand Up @@ -737,16 +737,16 @@ Local address to bind to.
=head2 C<max_connections>
my $max_connections = $ua->max_connections;
$ua = $ua->max_connections(5);
my $max = $ua->max_connections;
$ua = $ua->max_connections(5);
Maximum number of keep alive connections that the user agent will retain
before it starts closing the oldest cached ones, defaults to C<5>.
=head2 C<max_redirects>
my $max_redirects = $ua->max_redirects;
$ua = $ua->max_redirects(3);
my $max = $ua->max_redirects;
$ua = $ua->max_redirects(3);
Maximum number of redirects the user agent will follow before it fails,
defaults to the value of the C<MOJO_MAX_REDIRECTS> environment variable or
Expand Down
12 changes: 6 additions & 6 deletions lib/Mojo/UserAgent/CookieJar.pm
Expand Up @@ -122,17 +122,17 @@ Mojo::UserAgent::CookieJar - Cookie jar for HTTP user agents
=head1 DESCRIPTION
L<Mojo::UserAgent::CookieJar> is a minimalistic and relaxed cookie jar for
HTTP user agents.
L<Mojo::UserAgent::CookieJar> is a minimalistic and relaxed cookie jar used by
L<Mojo::UserAgent>.
=head1 ATTRIBUTES
L<Mojo::UserAgent::CookieJar> implements the following attributes.
=head2 C<max_cookie_size>
my $max_cookie_size = $jar->max_cookie_size;
$jar = $jar->max_cookie_size(4096);
my $size = $jar->max_cookie_size;
$jar = $jar->max_cookie_size(4096);
Maximum cookie size in bytes, defaults to C<4096>.
Expand All @@ -155,7 +155,7 @@ Empty the jar.
=head2 C<extract>
$jar = $jar->extract($tx);
$jar->extract($tx);
Extract response cookies from transaction.
Expand All @@ -167,7 +167,7 @@ Find L<Mojo::Cookie::Request> objects in the jar for L<Mojo::URL> object.
=head2 C<inject>
$jar = $jar->inject($tx);
$jar->inject($tx);
Inject request cookies into transaction.
Expand Down

0 comments on commit 4e1e045

Please sign in to comment.