|
NAMENet::SPDY::Session - Handle SPDY protocol connectionALPHA WARNINGPlease read carefully: This is an ALPHA stage software. In particular this means that even though it probably won't kill your cat, re-elect George W. Bush nor install Solaris 11 Express edition to your hard drive, it is in active development, functionality is missing and no APIs are stable.See TODO file in the distribution to learn about missing and planned functionality. You are more than welcome to join the development and submit patches with fixes or enhancements. Bug reports are probably not very useful at this point. SYNOPSISuse Net::SPDY::Session; my $server = new IO::Socket::SSL ( LocalAddr => 'localhost:443', ReuseAddr => 1, SSL_server => 1, SSL_cert_file => $cert, SSL_key_file => $key, SSL_npn_protocols => ['spdy/3']) or die IO::Socket::SSL::errstr; while (my $client = $server->accept) { # Fork a child to handle the connection my $kidpid = fork; die $! unless defined $kidpid; # Proceed with next connection next if $kidpid; my $session = new Net::SPDY::Session ($client); while ($session->process_frame) { ... } } DESCRIPTIONNet::SPDY::Session represents the single stateful SPDY connection along with its state, which in called a session.It provides access to the underlying protocol and convenience functions to access the state and communicate via the protocol. PROPERTIES
METHODS
SEE ALSO
CONTRIBUTINGSource code for Net::SPDY is kept in a public GIT repository. Visit <https://github.com/lkundrak/net-spdy>.Bugs reports and feature enhancement requests are tracked at <https://rt.cpan.org/Public/Dist/Display.html?Name=Net::SPDY>. COPYRIGHTCopyright 2012, Lubomir RintelThis program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. AUTHORLubomir Rintel "lkundrak@v3.sk"
Visit the GSP FreeBSD Man Page Interface. |