Sleep::Response - A Sleep response


Sleep documentation  | view source Contained in the Sleep distribution.

Index


NAME

Top

Sleep::Response - A Sleep response

DESCRIPTION

Top

CLASS METHODS

Top

CLASS->new($hash_ref)

Has two optional parameters: data and location.

METHODS

Top

data

Returns the data of this response.

location()

Returns the location that was specified for this response. This value will be used by Sleep::Handler to set the Location HTTP header.

encode($mime_type)

BUGS

Top

If you find a bug, please let the author know.

COPYRIGHT

Top

AUTHOR

Top

Peter Stuifzand <peter@stuifzand.eu>


Sleep documentation  | view source Contained in the Sleep distribution.