|
NAMEHTTP::Tiny::SPDY - A subclass of HTTP::Tiny with SPDY supportVERSIONversion 0.020SYNOPSISuse 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}; DESCRIPTIONThis 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.METHODSnew$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:
SEE ALSO
ACKNOWLEDGEMENTSSPDY protocol support is provided by Net::SPDY, written by Lubomir Rintel.SUPPORTBugs / Feature RequestsPlease 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 CodeThis 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 AUTHORMichal Wojciechowski <odyniec@cpan.org>COPYRIGHT AND LICENSEThis 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.
Visit the GSP FreeBSD Man Page Interface. |