Ticket #38405: mochiweb-edoc.patch

File mochiweb-edoc.patch, 928 bytes (added by su1shi4fu3@…, 12 years ago)
  • src/mochiweb_request.erl

    /  
    3636%% @type key() = atom() | string() | binary()
    3737%% @type value() = atom() | string() | binary() | integer()
    3838%% @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.
    4040%% @type response(). A mochiweb_response parameterized module instance.
    4141%% @type ioheaders() = headers() | [{key(), value()}].
    4242
  • src/mochiweb_response.erl

     
    1111-export([new/3, get_header_value/2, get/2, dump/1]).
    1212-export([send/2, write_chunk/2]).
    1313
    14 %% @type response() = {atom(), [Request, Code, Headers]}
     14%% @type response(). A mochiweb_response parameterized module instance.
    1515
    1616%% @spec new(Request, Code, Headers) -> response()
    1717%% @doc Create a new mochiweb_response instance.