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::TINY::SPDY (3)

.ds Aq ’

NAME

HTTP::Tiny::SPDY - A subclass of HTTP::Tiny with SPDY support

CONTENTS

VERSION

version 0.020

SYNOPSIS



    use HTTP::Tiny::SPDY;

    my $response = HTTP::Tiny::SPDY->new->get(https://example.com/);

    die "Failed!\n" unless $response->{success};

    print "$response->{status} $response->{reason}\n";

    while (my ($k, $v) = each %{$response->{headers}}) {
        for (ref $v eq ARRAY ? @$v : $v) {
            print "$k: $_\n";
        }
    }

    print $response->{content} if length $response->{content};



DESCRIPTION

This is a subclass of HTTP::Tiny with added support for the SPDY protocol. It is intended to be fully compatible with HTTP::Tiny so that it can be used as a drop-in replacement for it.

METHODS

    new



    $http = HTTP::Tiny::SPDY->new( %attributes );



Constructor that returns a new HTTP::Tiny::SPDY object. It accepts the same attributes as the constructor of HTTP::Tiny, and one additional attribute:
o enable_SPDY

A boolean that indicates if a SPDY connection should be negotiated for HTTPS requests (default is true)

SEE ALSO

o HTTP::Tiny
o Net::SPDY
o SPDY Project Homepage <http://dev.chromium.org/spdy/>

ACKNOWLEDGEMENTS

SPDY protocol support is provided by Net::SPDY, written by Lubomir Rintel.

SUPPORT

    Bugs / Feature Requests

Please report any bugs or feature requests through the issue tracker at <https://github.com/odyniec/p5-HTTP-Tiny-SPDY/issues>. You will be notified automatically of any progress on your issue.

    Source Code

This is open source software. The code repository is available for public review and contribution under the terms of the license.

<https://github.com/odyniec/p5-HTTP-Tiny-SPDY>



  git clone https://github.com/odyniec/p5-HTTP-Tiny-SPDY.git



AUTHOR

Michal Wojciechowski <odyniec@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Michal Wojciechowski.

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

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 HTTP::TINY::SPDY (3) 2014-05-03

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