… | |
… | |
225 | You can also provide your own TLS connection object, but you have |
225 | You can also provide your own TLS connection object, but you have |
226 | to make sure that you call either C<Net::SSLeay::set_connect_state> |
226 | to make sure that you call either C<Net::SSLeay::set_connect_state> |
227 | or C<Net::SSLeay::set_accept_state> on it before you pass it to |
227 | or C<Net::SSLeay::set_accept_state> on it before you pass it to |
228 | AnyEvent::Handle. |
228 | AnyEvent::Handle. |
229 | |
229 | |
230 | See the C<starttls> method if you need to start TLs negotiation later. |
230 | See the C<starttls> method if you need to start TLS negotiation later. |
231 | |
231 | |
232 | =item tls_ctx => $ssl_ctx |
232 | =item tls_ctx => $ssl_ctx |
233 | |
233 | |
234 | Use the given Net::SSLeay::CTX object to create the new TLS connection |
234 | Use the given Net::SSLeay::CTX object to create the new TLS connection |
235 | (unless a connection object was specified directly). If this parameter is |
235 | (unless a connection object was specified directly). If this parameter is |
… | |
… | |
1448 | =over 4 |
1448 | =over 4 |
1449 | |
1449 | |
1450 | =item * all constructor arguments become object members. |
1450 | =item * all constructor arguments become object members. |
1451 | |
1451 | |
1452 | At least initially, when you pass a C<tls>-argument to the constructor it |
1452 | At least initially, when you pass a C<tls>-argument to the constructor it |
1453 | will end up in C<< $handle->{tls} >>. Those members might be changes or |
1453 | will end up in C<< $handle->{tls} >>. Those members might be changed or |
1454 | mutated later on (for example C<tls> will hold the TLS connection object). |
1454 | mutated later on (for example C<tls> will hold the TLS connection object). |
1455 | |
1455 | |
1456 | =item * other object member names are prefixed with an C<_>. |
1456 | =item * other object member names are prefixed with an C<_>. |
1457 | |
1457 | |
1458 | All object members not explicitly documented (internal use) are prefixed |
1458 | All object members not explicitly documented (internal use) are prefixed |