|
@ -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', |
|
|