Hub::Net::HTTP - HTTP Connection Wrapper


hub-standard documentation  | view source Contained in the hub-standard distribution.

Index


NAME

Top

Hub::Net::HTTP - HTTP Connection Wrapper

SYNOPSIS

Top



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







DESCRIPTION

Top

PUBLIC METHODS

Top

http

HTTP Transmit and respond


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




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

INTERNAL METHODS

Top

_uri_split

Obtain pieces of URI information

AUTHOR

Top

Ryan Gies (ryangies@livesite.net)

COPYRIGHT

Top

UPDATED

Top

08/02/2007


hub-standard documentation  | view source Contained in the hub-standard distribution.