Sfoglia il codice sorgente

Merge pull request #95 from AeroNotix/master

Fixed up documentation
pull/92/merge
Chandrashekhar Mullaparthi 12 anni fa
parent
commit
af5eebd9f5
3 ha cambiato i file con 10 aggiunte e 2 eliminazioni
  1. +4
    -0
      .gitignore
  2. +4
    -0
      Makefile
  3. +2
    -2
      src/ibrowse.erl

+ 4
- 0
.gitignore Vedi File

@ -2,3 +2,7 @@ ebin/
*~
.eunit/
*beam
doc/*.html
doc/*.css
doc/*.png
doc/edoc-info

+ 4
- 0
Makefile Vedi File

@ -19,3 +19,7 @@ test: all
xref: all
./rebar xref
docs:
erl -noshell \
-eval 'edoc:application(ibrowse, ".", []), init:stop().'

+ 2
- 2
src/ibrowse.erl Vedi File

@ -481,7 +481,7 @@ spawn_worker_process(Args) ->
spawn_worker_process(Args, []).
%% @doc Same as spawn_worker_process/1 except with Erlang process options.
%% @spec spawn_worker_process(Url::string() | {Host::string(), Port::integer(), Options::list()) -> {ok, pid()}
%% @spec spawn_worker_process(Host::string(), Port::integer()) -> {ok, pid()}
spawn_worker_process(Host, Port) when is_list(Host), is_integer(Port) ->
%% Convert old API calls to new API format.
spawn_worker_process({Host, Port}, []);
@ -495,7 +495,7 @@ spawn_link_worker_process(Args) ->
spawn_link_worker_process(Args, []).
%% @doc Same as spawn_link_worker_process/1 except with Erlang process options.
%% @spec spawn_link_worker_process(Url::string() | {Host::string(), Port::integer(), Options::list()) -> {ok, pid()}
%% @spec spawn_link_worker_process(Host::string(), Port::integer()) -> {ok, pid()}
spawn_link_worker_process(Host, Port) when is_list(Host), is_integer(Port) ->
%% Convert old API calls to new API format.
spawn_link_worker_process({Host, Port}, []);

Caricamento…
Annulla
Salva