fix
This commit is contained in:
parent
bef8f3e815
commit
bbc4b81d2e
@ -10,6 +10,13 @@
|
|||||||
-author("licheng5").
|
-author("licheng5").
|
||||||
-include("efka_tables.hrl").
|
-include("efka_tables.hrl").
|
||||||
|
|
||||||
|
%% REQUEST: 需要响应的请求帧
|
||||||
|
%% RESPONSE: 对 REQUEST 的响应帧
|
||||||
|
%% CAST: 单向消息帧,不需要响应
|
||||||
|
-define(FRAME_REQUEST, 16#01).
|
||||||
|
-define(FRAME_RESPONSE, 16#02).
|
||||||
|
-define(FRAME_CAST, 16#03).
|
||||||
|
|
||||||
%% API
|
%% API
|
||||||
-export([init/2]).
|
-export([init/2]).
|
||||||
-export([websocket_init/1, websocket_handle/2, websocket_info/2, terminate/3]).
|
-export([websocket_init/1, websocket_handle/2, websocket_info/2, terminate/3]).
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user