Ticket #38405: mochiweb-edoc.patch
File mochiweb-edoc.patch, 928 bytes (added by su1shi4fu3@…, 12 years ago) |
---|
-
src/mochiweb_request.erl
/ 36 36 %% @type key() = atom() | string() | binary() 37 37 %% @type value() = atom() | string() | binary() | integer() 38 38 %% @type headers(). A mochiweb_headers structure. 39 %% @type request() = {mochiweb_request,[_Socket,_Method,_RawPath,_Version,_Headers]}39 %% @type request(). A mochiweb_request parameterized module instance. 40 40 %% @type response(). A mochiweb_response parameterized module instance. 41 41 %% @type ioheaders() = headers() | [{key(), value()}]. 42 42 -
src/mochiweb_response.erl
11 11 -export([new/3, get_header_value/2, get/2, dump/1]). 12 12 -export([send/2, write_chunk/2]). 13 13 14 %% @type response() = {atom(), [Request, Code, Headers]}14 %% @type response(). A mochiweb_response parameterized module instance. 15 15 16 16 %% @spec new(Request, Code, Headers) -> response() 17 17 %% @doc Create a new mochiweb_response instance.