View on
MetaCPAN
Steffen Ullrich > Net-IMP-HTTP-0.1 > Net::IMP::HTTP

Download:
Net-IMP-HTTP-0.1.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.1   Source   Latest Release: Net-IMP-HTTP-0.523

NAME ^

Net::IMP::HTTP - interface for HTTP specific Net::IMP plugins

DESCRIPTION ^

The Net::IMP::HTTP modules make it easier to write HTTP specific IMP plugins. We distinguish between HTTP connection specific plugins and HTTP request specific plugins. The differences are:

The following modules are currently implemented or planned:

Net::IMP::HTTP

This module provides the data type definitions for HTTP connection and request types.

Net::IMP::HTTP::Connection

This module is a base class for IMP plugins working with HTTP connection types.

Net::IMP::HTTP::Request

This module is a base class for IMP plugins working with HTTP request types.

Net::IMP::Adaptor::STREAM2HTTPConn

Using this module can adapt HTTP connection specific plugins into a simple stream interface (IMP_DATA_STREAM)

Net::IMP::Adaptor::STREAM2HTTPReq (planned)

Using this module can adapt HTTP request specific plugins into a simple stream interface (IMP_DATA_STREAM).

Net::IMP::HTTP defines the following constants for HTTP specific data types

connection specific types
  IMP_DATA_HTTP_HEADER     - request and response header
  IMP_DATA_HTTP_BODY       - request and response body chunks (stream)
  IMP_DATA_HTTP_CHKHDR     - chunk header in chunked transfer encoding
  IMP_DATA_HTTP_CHKTRAILER - chunk trailer in chunked transfer encoding
  IMP_DATA_HTTP_DATA       - arbitrary data after connection upgrades (stream)
  IMP_DATA_HTTP_JUNK       - junk data (leading new lines before header..)
request specific types
  IMP_DATA_HTTPRQ_HEADER  - request and response header
  IMP_DATA_HTTPRQ_CONTENT - request and response body chunks (stream)
  IMP_DATA_HTTPRQ_DATA    - arbitrary data after connection upgrades (stream)

SEE ALSO ^

Net::IMP

AUTHOR ^

Steffen Ullrich, <sullr@cpan.org>

COPYRIGHT ^

Copyright 2013 Steffen Ullrich

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: