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

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(-name    => 'foo',
         -value   => 'bar',
         -expires => '+3d',
         -domain  => 'foo.bar.com',
         -path    => '/foo');

Add a cookie to the current HTTP reply

  $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.