Sebastian Willing > YAWF-0.01 > YAWF::Reply

Download:
YAWF-0.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.01   Source  

NAME ^

YAWF::Reply - Reply object for a YAWF request

SYNOPSIS ^

  $object->dummy;

DESCRIPTION ^

Created during YAWF request init, holds all reply information.

METHODS ^

new

The reply object is part of a YAWF request and created during YAWF init.

cookie

  cookie(-name    => 'foo',
         -value   => 'bar',
         -expires => '+3d',
         -domain  => 'foo.bar.com',
         -path    => '/foo');

Add a cookie to the current HTTP reply

header

  $reply->header('x-name','value');

Add the specified header to the reply (doesn't overwrite an existing header of this name).

SUPPORT ^

See YAWF

AUTHOR ^

Copyright 2010 Sebastian Willing.

syntax highlighting: