Copyright © 2007 Mochi Media, Inc.
Authors: Bob Ippolito (bob@mochimedia.com).
dump/0 | Dump the internal representation to a "human readable" set of terms for debugging/inspection purposes. |
get/1 | Return the internal representation of the given field. |
get_header_value/1 | Get the value of the given response header. |
send/1 | Send data over the socket if the method is not HEAD. |
write_chunk/1 | Write a chunk of a HTTP chunked response. |
dump() -> {mochiweb_request, [{atom(), term()}]}
Dump the internal representation to a "human readable" set of terms for debugging/inspection purposes.
get(X1::request | code | headers) -> term()
Return the internal representation of the given field.
get_header_value(K::string() | atom() | binary()) -> string() | undefined
Get the value of the given response header.
send(Data::iodata()) -> ok
Send data over the socket if the method is not HEAD.
write_chunk(Data::iodata()) -> ok
Write a chunk of a HTTP chunked response. If Data is zero length, then the chunked response will be finished.
Generated by EDoc, Aug 8 2008, 22:08:45.