The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Sleep::Response - A Sleep response

DESCRIPTION

CLASS METHODS

CLASS->new($hash_ref)

Has two optional parameters: data and location.

METHODS

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

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

COPYRIGHT

Copyright (c) 2008 Peter Stuifzand. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Peter Stuifzand <peter@stuifzand.eu>