1HTTP::Thin(3)         User Contributed Perl Documentation        HTTP::Thin(3)
2
3
4

NAME

6       HTTP::Thin - A Thin Wrapper around HTTP::Tiny to play nice with
7       HTTP::Message
8

VERSION

10       version 0.006
11

SYNOPSIS

13           use 5.12.1;
14           use HTTP::Request::Common;
15           use HTTP::Thin;
16
17           say HTTP::Thin->new()->request(GET 'http://example.com')->as_string;
18

DESCRIPTION

20       WARNING: This module is untested beyond the very basics. The
21       implementation is simple enough that it shouldn't do evil things but,
22       yeah it's still not approved for use by small children.
23
24       "HTTP::Thin" is a thin wrapper around HTTP::Tiny adding the ability to
25       pass in HTTP::Request objects and get back HTTP::Response objects. The
26       maintainers of HTTP::Tiny, justifiably, don't want to have to maintain
27       compatibility but many other projects already consume the HTTP::Message
28       objects. This is just glue code doing what it does best.
29

METHODS

31   request
32       In addition to the parameters documented in HTTP::Tiny, "HTTP::Thin"
33       takes HTTP::Request objects as well.
34
35       The return value is an HTTP::Response object.
36

WHY?

38       A conversation on IRC lead to "mst", "ether", and I agreeing that this
39       would be a useful module but probably not worth the effort. I wrote it
40       anyway to get it out of my head.
41

AUTHOR

43       Chris Prather <chris@prather.org>
44
46       This software is copyright (c) 2013 by Chris Prather.
47
48       This is free software; you can redistribute it and/or modify it under
49       the same terms as the Perl 5 programming language system itself.
50

CONTRIBUTORS

52       •   Aran Deltac <aran@ziprecruiter.com>
53
54       •   Tatsuhiko Miyagawa <miyagawa@bulknews.net>
55
56
57
58perl v5.36.0                      2022-07-22                     HTTP::Thin(3)
Impressum