Strona działa najlepiej z włączonym JavaScript.
Strona główna
Odkrywaj
Pomoc
Zarejestruj się
Zaloguj się
SisMaker
/
eWSrv
Obserwuj
1
Polub
0
Forkuj
0
Kod
Zgłoszenia
0
Oczekujące zmiany
0
Projects
0
Wydania
0
Wiki
Aktywność
Przeglądaj źródła
ft: 代码修改
master
SisMaker
3 lat temu
rodzic
2c54c3e612
commit
201a035923
5 zmienionych plików
z
5 dodań
i
5 usunięć
Widok podzielony
Opcje porównania
Pokaż statystyki
Ściągnij plik aktualizacji
Ściągnij plik porównania
+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
Wyświetl plik
@ -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
Wyświetl plik
@ -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
Wyświetl plik
@ -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
Wyświetl plik
@ -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
Wyświetl plik
@ -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
Napisz
Podgląd
Ładowanie…
Anuluj
Zapisz