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
HTTP::Tiny::SPDY(3) User Contributed Perl Documentation HTTP::Tiny::SPDY(3)

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

version 0.020

    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};

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.

    $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:

"enable_SPDY"

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

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

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

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.

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

Michal Wojciechowski <odyniec@cpan.org>

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.

2014-05-03 perl v5.32.1

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

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