NAME

Mail::BIMI::Role::HasHTTPClient - Class to model a HTTP client

VERSION

version 3.20241209

DESCRIPTION

Role for classes which require a HTTP Client implementation

METHODS

http_client_get($uri)

Perform a get request for the given $uri, wrapped with a timeout to catch timeouts that the HTTP::Tiny timeout does not catch.

REQUIRES

AUTHOR

Marc Bradshaw <marc@marcbradshaw.net>

COPYRIGHT AND LICENSE

This software is copyright (c) 2020 by Marc Bradshaw.

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