NAME

Net::Telnet::Wrapper::Device::TCP::HTTP

DESCRIPTION

TCP::HTTP device class template.

This device class can be used to connect to HTTP servers over port 80

Do not call this module directly.

DEVICE CLASS SPECIFIC PROCEDURES

Following device class specific procedures are defined. All commands can also be executed using the default cmd() command which is inherited from Net::Telnet.

test_url url

This procedure connects to an HTTP server on port 80 and tries to get an url. To avoid hanging sessions etc. a GET is done with HTTP version 1.0

Return value is everything that HTTP GET returns

SUPPORTED MODES

CONNECT

SPECIFICS

- Net::Telnet is called with Telnetmode disabled
- Some custom procedures are defined

AUTHOR

Maarten Wallraf <perl@2nms.com>