NAME

IO::Iron::Connector - REST API Connector, HTTP interface class.

VERSION

version 0.14

SYNOPSIS

This package is for internal use of IO::Iron packages.

DESCRIPTION

This class object handles the actual http traffic. Parameters are passed from the calling object (partly from API class) via Connection class object. This class can be mocked and replaced when the client objects are created.

SUBROUTINES/METHODS

new

Creator function.

perform_iron_action

Params: action name, params hash.
Return: 1/0 (1 if success, 0 in all failures), HTTP return code, hash if success/failed request.

perform_http_action

Do the actual "dirty work" of Internet connection. This routine is only accessed internally.

AUTHOR

Mikko Koivunalho <mikko.koivunalho@iki.fi>

BUGS

Please report any bugs or feature requests to bug-io-iron@rt.cpan.org or through the web interface at: http://rt.cpan.org/Public/Dist/Display.html?Name=IO-Iron

COPYRIGHT AND LICENSE

This software is copyright (c) 2023 by Mikko Koivunalho.

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

The full text of the license can be found in the LICENSE file included with this distribution.