NAME
AnyEvent::TLS::SNI - adds Server Name Indication (SNI) support to AnyEvent::TLS client.
VERSION
version 0.01
SYNOPSIS
use AnyEvent::HTTP; use AnyEvent::TLS::SNI;
my $cv = AnyEvent->condvar; $cv->begin; AnyEvent::HTTP::http_get( 'https://sni.velox.ch/', tls_ctx => { verify => 1, verify_peername => 'https', host_name => 'sni.velox.ch' }, sub { printf "Body length = %d\n", length( shift ); $cv->end; } ); $cv->recv;
AUTHOR
Alexander Nalobin <alexander@nalobin.ru>
COPYRIGHT AND LICENSE
This software is copyright (c) 2015 by Alexander Nalobin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.