NAME

Hub::Webapp::Response - Response functions

Part of the Hub Library

SYNOPSIS

use Hub qw(:standard);
callback( &main );
sub main {
    respond();
}

DESCRIPTION

This class provides one method 'respond' which gleans all its information for the runtime symbol table $Hub.

METHODS

respond
respond

Print response to STDOUT

INTERNAL

_get_headers _set_script
_get_headers

Usage: _get_headers EXT

Return an array where $_[0] = encoding and $_[1] = type

_set_script

Replace all of the placeholders

Replace all of the placeholders with the url to this script.

It is important that each link to the server contains the _display= parameter so that those requests know what page/module they are on.

AUTHOR

Ryan Gies

COPYRIGHT

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

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

UPDATED

This file created by on at