GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  HTTP::THIN (3)

.ds Aq ’

NAME

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

CONTENTS

VERSION

version 0.006

SYNOPSIS



    use 5.12.1;
    use HTTP::Request::Common;
    use HTTP::Thin;

    say HTTP::Thin->new()->request(GET http://example.com)->as_string;



DESCRIPTION

WARNING: This module is untested beyond the very basics. The implementation is simple enough that it shouldn’t do evil things but, yeah it’s still not approved for use by small children.

HTTP::Thin is a thin wrapper around HTTP::Tiny adding the ability to pass in HTTP::Request objects and get back HTTP::Response objects. The maintainers of HTTP::Tiny, justifiably, don’t want to have to maintain compatibility but many other projects already consume the HTTP::Message objects. This is just glue code doing what it does best.

METHODS

    request

In addition to the parameters documented in HTTP::Tiny, HTTP::Thin takes HTTP::Request objects as well.

The return value is an HTTP::Response object.

WHY?

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

AUTHOR

Chris Prather <chris@prather.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Chris Prather.

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

CONTRIBUTORS

o Aran Deltac <aran@ziprecruiter.com>
o Tatsuhiko Miyagawa <miyagawa@bulknews.net>
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 HTTP::THIN (3) 2014-04-21

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.