NAME

Airlock::HTTPMessage - Airlock's machine endpoints for HTTP::Request and HTTP::Response

VERSION

version 0.001

SYNOPSIS

my $http     = Airlock::HTTPMessage->new( airlock => $airlock );
my $response = $http->handle( $request, ip => $remote_address );

DESCRIPTION

For a host application that is neither PSGI nor anything Airlock knows about, but can produce an HTTP::Request and send an HTTP::Response. This is a separate class so that Airlock itself does not depend on HTTP::Message.

airlock

Required. The Airlock to answer for.

handle

my $response = $http->handle( $request, ip => $remote_address );

Answers an HTTP::Request for POST .../device or POST .../token with an HTTP::Response. Pass the remote address, which a request object does not carry.

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-airlock/issues.

IRC

Join #kubernetes on irc.perl.org or message Getty directly.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <getty@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.