Browse Source

ft: 代码修改

master
SisMaker 3 years ago
parent
commit
201a035923
5 changed files with 5 additions and 5 deletions
  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 View File

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

+ 1
- 1
src/wsSrv/elli_example_callback.erl View File

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

+ 1
- 1
src/wsSrv/elli_example_callback_handover.erl View File

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

+ 1
- 1
src/wsSrv/elli_middleware_compress.erl View File

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

+ 1
- 1
src/wsSrv/elli_request.erl View File

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

Loading…
Cancel
Save