NAME

Ubic::UA - tiny http client

VERSION

version 1.60

DESCRIPTION

This module is a tiny and horribly incomplete http useragent implementation.

It's used by Ubic::Ping::Service and it allows ubic to avoid dependency on LWP.

INTERFACE SUPPORT

This is considered to be a non-public class. Its interface is subject to change without notice.

METHODS

new(timeout => $timeout)

Construct new useragent.

get($url)

Fetch a given url.

Returns a hashref with body, status and some others and some other fields.

AUTHOR

Vyacheslav Matyukhin <mmcleric@yandex-team.ru>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Yandex LLC.

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