Peter Stuifzand > Sleep > Sleep::Response

Download:
Sleep-0.0.4.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

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>

syntax highlighting: