Net::AS2::HTTPS - UserAgent used for sending AS2 requests over HTTPS.
my $as2 = Net::AS2->new( ..., UserAgentClass => 'Net::AS2::HTTPS', SSLOptions => { ... } );
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.
SSLOptions
ssl_opts()
A subclassed method that uses the SSLOptions AS2 configuration option to configure the User Agent to use HTTPS.
Note that the LWP::Protocol::https will be required for LWP::UserAgent to use HTTPS.
To install Net::AS2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::AS2
CPAN shell
perl -MCPAN -e shell install Net::AS2
For more information on module installation, please visit the detailed CPAN module installation guide.