TLSViaAsync

NAME

IO::Socket::TLSViaAsync - Interface for TLS connections

SYNOPSIS

use IO::Socket::TLSViaAsync;
    my $ssl = IO::Socket::TLSViaAsync.new(:host<example.com>, :port(443));
    if $ssl.print("GET / HTTP/1.1\r\n\r\n") {
        say $ssl.recv;
    }

DESCRIPTION

This module provides an interface for TLS connections. It's a drop in replacement of IO::Socket::INET.

Technically it's a wrapper around the IO::Socket::Async::SSL module. The new, connect and listen methods forward their named arguments to the connect and listen methods in IO::Socket::Async::SSL respectively.

IO-Socket-TLSViaAsync v1.0.0

Synchronous TLS sockets

Authors

  • Patrick Bรถker

License

Artistic-2.0

Dependencies

IO::Socket::Async::SSL:ver<0.8.0>:auth<zef:jnthn>

Test Dependencies

Provides

  • IO::Socket::TLSViaAsync

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.