The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Net::AS2::HTTPS - UserAgent used for sending AS2 requests over HTTPS.

SYNOPSIS

my $as2 = Net::AS2->new(
    ...,
    UserAgentClass => 'Net::AS2::HTTPS',
    SSLOptions     => {
        ...
    }
);

DESCRIPTION

This is a class for sending AS2 (RFC-4130) communication over HTTPS.

It is a subclass of Net::AS2::HTTP.

It requires the AS2 option SSLOptions to be defined. This will be passed to the ssl_opts() method of the superclass, LWP::UserAgent.

METHODS

options ( opts )

A subclassed method that uses the SSLOptions AS2 configuration option to configure the User Agent to use HTTPS.

PREREQUISITES

Note that the LWP::Protocol::https will be required for LWP::UserAgent to use HTTPS.