Skip to content

Commit

Permalink
update pod
Browse files Browse the repository at this point in the history
  • Loading branch information
奥 一穂 committed Sep 14, 2009
1 parent d42c4fc commit 1f2f788
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
1 change: 1 addition & 0 deletions README
@@ -0,0 +1 @@
see lib/HTTP/Parser/XS.pm
43 changes: 43 additions & 0 deletions lib/HTTP/Parser/XS.pm
Expand Up @@ -44,4 +44,47 @@ HTTP::Parser::XS - a fast, primitive HTTP request parser
...
}
=head1 DESCRIPTION
HTTP::Parser::XS is a fast, primitive HTTP request parser that can be used either for writing a synchronous HTTP server or a event-driven server.
=head1 METHODS
=over 4
=item parse_http_request($request_string, \%env)
Tries to parse given request string, and if successful, inserts variables into %env. For the name of the variables inserted, please refer to the PSGI specification. The return values are:
=over 8
=item >=0
length of the request (request line and the request headers), in bytes
=item -1
given request is corrupt
=item -2
given request is incomplete
=back
=back
=head1 AUTHOR
Kazuho Oku E<lt>kazuhooku@gmail.comE<gt>
=head1 SEE ALSO
L<HTTP::Parser>
L<HTTP::HeaderParser::XS>
=head1 LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
=cut

0 comments on commit 1f2f788

Please sign in to comment.