NAME

IO::Iron::Common - Common routines for Client Libraries to Iron services IronCache, IronMQ and IronWorker.

VERSION

version 0.14

REQUIREMENTS

FUNCTIONS

Internal functions for use in the Client objects.

IRON_CONFIG_KEYS

IRON_CLIENT_PARAMETERS

get_config

Get the config from file or from system environmental variables. Follows the global configuration scheme as explained in http://dev.iron.io/mq/reference/configuration/.

The configuration is constructed as follows:

1. The global configuration file sets the defaults according to the file hierarchy. (.iron.json in home folder)
2. The global environment variables overwrite the global configuration file's values.
3. The product-specific environment variables overwrite everything before them.
4. The local configuration file overwrites everything before it according to the file hierarchy. (iron.json in the same directory as the script being run)
5. The configuration file specified when instantiating the client library overwrites everything before it according to the file hierarchy.
6. The arguments passed when instantiating the client library overwrite everything before them.

Return: ref to %config.

contains_rfc_3986_res_chars

Check that the string does not contain any RFC 3986 Reserved Characters:

!$&'()*+,;=:/?#[]@

Return True (1) if contains. Otherwise False (0).

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.