Difference:
TWikiResponseDotPm
(2 vs. 3)
Revision 3
2013-10-14 -
TWikiContributor
Line: 1 to 1
Changed:
<
<
Package ==
On this page:
ClassMethod new
() -> $response
ObjectMethod status
($status) -> $status
ObjectMethod charset
([$charset]) -> $charset
ObjectMethod header
(-type=>$type,
ObjectMethod _header
(-type=>$type,
ObjectMethod headers
({...}) -> $headersHashRef
ObjectMethod getHeader
([$name]) -> $value
ObjectMethod deleteHeader
($h1,$h2,...)
ObjectMethod pushHeader
($name,$value)
ObjectMethod cookies
([\@cookies]) ->
@cookies
ObjectMethod body
([$body]) -> $body
ObjectMethod redirect
($uri,$status,$cookies|
ObjectMethod setDefaultHeaders
({$name=>$value,...})
package TWiki::Response
>
>
Package
TWiki::Response
Class to encapsulate response data.
Line: 12 to 9
*
cookies
- hashref to response cookies
Added:
>
>
On this page:
ClassMethod new
() -> $response
ObjectMethod status
($status) -> $status
ObjectMethod charset
([$charset]) -> $charset
ObjectMethod header
(-type=>$type,
ObjectMethod _header
(-type=>$type,
ObjectMethod headers
({...}) -> $headersHashRef
ObjectMethod getHeader
([$name]) -> $value
ObjectMethod deleteHeader
($h1,$h2,...)
ObjectMethod pushHeader
($name,$value)
ObjectMethod cookies
([\@cookies]) ->
@cookies
ObjectMethod body
([$body]) -> $body
ObjectMethod redirect
($uri,$status,$cookies|
ObjectMethod setDefaultHeaders
({$name=>$value,...})
ClassMethod
new
() -> $response
Constructs a TWiki::Response object.
View topic
|
H
istory
:
r3
<
r2
<
r1
|
More topic actions...
Copyright © 1999-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback
Note:
Please contribute updates to this topic on TWiki.org at
TWiki:TWiki.TWikiResponseDotPm
.