|
NAMEHTTP::MultiPartParser - HTTP MultiPart ParserSYNOPSIS$parser = HTTP::MultiPartParser->new( boundary => $boundary, on_header => $on_header, on_body => $on_body, ); while ($octets = read_octets_from_body()) { $parser->parse($octets); } $parser->finish; DESCRIPTIONThis class provides a low-level API for processing MultiPart MIME data streams conforming to MultiPart types as defined in RFC 2616 <http://tools.ietf.org/html/rfc2616#section-3.7.2>.METHODSnew$parser = HTTP::MultiPartParser->new( %attributes ); This constructor returns a instance of "HTTP::MultiPartParser". Valid attributes inculde:
parse$parser->parse($octets); Parses the given octets. finish$parser->finish; Finish the parsing. reset$parser->reset; Resets the state of the parser. is_aborted$boolean = $parser->is_aborted; Returns true if an error has occurred in the parser. DIAGNOSTICS
SEE ALSO
SUPPORTBugs / Feature RequestsPlease report any bugs or feature requests through the issue tracker at <https://github.com/chansen/p5-http-multipartparser/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.<httsp://github.com/chansen/p5-http-multipartparser> git clone https://github.com/chansen/p5-http-multipartparser AUTHORChristian Hansen "chansen@cpan.org"COPYRIGHTCopyright 2012-2017 by Christian Hansen.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. |