Skip to content

Commit

Permalink
better examples for TLS attributes in Mojo::UserAgent
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 5, 2012
1 parent 45e05c9 commit a1b3e16
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Mojo/UserAgent.pm
Expand Up @@ -673,7 +673,7 @@ L<Mojo::UserAgent> implements the following attributes.
=head2 C<ca>
my $ca = $ua->ca;
$ua = $ua->ca('ca.crt');
$ua = $ua->ca('/etc/tls/ca.crt');
Path to TLS certificate authority file, defaults to the value of the
C<MOJO_CA_FILE> environment variable. Note that this attribute is
Expand All @@ -682,7 +682,7 @@ EXPERIMENTAL and might change without warning!
=head2 C<cert>
my $cert = $ua->cert;
$ua = $ua->cert('tls.crt');
$ua = $ua->cert('/etc/tls/client.crt');
Path to TLS certificate file, defaults to the value of the C<MOJO_CERT_FILE>
environment variable.
Expand Down Expand Up @@ -737,7 +737,7 @@ object.
=head2 C<key>
my $key = $ua->key;
$ua = $ua->key('tls.crt');
$ua = $ua->key('/etc/tls/client.crt');
Path to TLS key file, defaults to the value of the C<MOJO_KEY_FILE>
environment variable.
Expand Down

0 comments on commit a1b3e16

Please sign in to comment.