Hub::Webapp::HTTP

- NAME
- SYNOPSIS
- DESCRIPTION
- METHODS
- INTERNAL
- AUTHOR
- COPYRIGHT
- UPDATED

# NAME

Hub::Webapp::HTTP - HTTP Connection Wrapper

Part of the Hub Library

Top

# SYNOPSIS

        use Hub qw(:standard);
        callback( &main );
        sub main {
            my $resp = httpget('http://my.server.ip');
            print $$resp{'body'};
        }

Top

# DESCRIPTION

Top

# METHODS

http | httpget

http
  HTTP Transmit and respond

       Usage: http $uri, $content, [option]

  options:

        -cookie_jar=$cookie_jar         Implements HTTP::Cookies
        -raw                            Return the raw HTTP::Response object

        -method=GET|POST                HTTP Method
        -agent=$string                  User agent identifier
        -content_type=$string           Content type

httpget
  HTTP Get

Top

# INTERNAL

_uri_split

_uri_split
  Obtain pieces of URI information

Top

# AUTHOR

Ryan Gies

Top

# COPYRIGHT

Copyright (c) 2006 Livesite Networks, LLC. All rights reserved.

Copyright (c) 2000-2005 Ryan Gies. All rights reserved.

Top

# UPDATED

This file created by on at

Top