Преглед на файлове

ft: 代码修改

master
SisMaker преди 3 години
родител
ревизия
201a035923
променени са 5 файла, в които са добавени 5 реда и са изтрити 5 реда
  1. +1
    -1
      src/wsSrv/elli.erl
  2. +1
    -1
      src/wsSrv/elli_example_callback.erl
  3. +1
    -1
      src/wsSrv/elli_example_callback_handover.erl
  4. +1
    -1
      src/wsSrv/elli_middleware_compress.erl
  5. +1
    -1
      src/wsSrv/elli_request.erl

+ 1
- 1
src/wsSrv/elli.erl Целия файл

@ -2,7 +2,7 @@
-behaviour(gen_server).
-include("eWSrv.hrl").
-include("elli_util.hrl").
-include("wsCom.hrl").
%% API
-export([start_link/0,

+ 1
- 1
src/wsSrv/elli_example_callback.erl Целия файл

@ -11,7 +11,7 @@
-export([chunk_loop/1]).
-include("eWSrv.hrl").
-include("elli_util.hrl").
-include("wsCom.hrl").
-behaviour(elli_handler).
-include_lib("kernel/include/file.hrl").

+ 1
- 1
src/wsSrv/elli_example_callback_handover.erl Целия файл

@ -1,7 +1,7 @@
-module(elli_example_callback_handover).
-export([init/2, handle/2, handle_event/3]).
-include("elli_util.hrl").
-include("wsCom.hrl").
-behaviour(elli_handler).
%% @doc Return `{ok, handover}' if `Req''s path is `/hello/world',

+ 1
- 1
src/wsSrv/elli_middleware_compress.erl Целия файл

@ -1,7 +1,7 @@
%%% @doc Response compression as Elli middleware.
-module(elli_middleware_compress).
-export([postprocess/3]).
-include("elli_util.hrl").
-include("wsCom.hrl").
%%
%% Postprocess handler

+ 1
- 1
src/wsSrv/elli_request.erl Целия файл

@ -1,6 +1,6 @@
-module(elli_request).
-include("eWSrv.hrl").
-include("elli_util.hrl").
-include("wsCom.hrl").
-export([send_chunk/2
, async_send_chunk/2

Зареждане…
Отказ
Запис