This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
SisMaker
/
eWSrv
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
ft: 代码修改
master
SisMaker
3 years ago
parent
2c54c3e612
commit
201a035923
5 changed files
with
5 additions
and
5 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/wsSrv/elli.erl
+1
-1
src/wsSrv/elli_example_callback.erl
+1
-1
src/wsSrv/elli_example_callback_handover.erl
+1
-1
src/wsSrv/elli_middleware_compress.erl
+1
-1
src/wsSrv/elli_request.erl
+ 1
- 1
src/wsSrv/elli.erl
View File
@ -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
View File
@ -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
View File
@ -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
View File
@ -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
View File
@ -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
Write
Preview
Loading…
Cancel
Save