NAME

Hub::Webapp::Response - Response functions

Part of the Hub Library

Top


SYNOPSIS

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

Top


DESCRIPTION

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

Top


METHODS

respond
respond
Print response to STDOUT

Top


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.

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