File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11
11
; ; Ref. https://github.com/ptaoussanis/sente/issues/102 for more info.
12
12
13
13
(defprotocol IServerChan ; sch
14
- ; ; Wraps a web server's own async channel/comms interface to abstract away
15
- ; ; implementation differences.
14
+ " Wraps a web server's own async channel/comms interface to abstract away
15
+ implementation differences."
16
16
(sch-open? [sch] " Returns true iff the channel is currently open." )
17
17
(sch-close! [sch]
18
18
" If the channel is open when called: closes the channel and returns true.
22
22
returns true. Otherwise noops and returns falsey." ))
23
23
24
24
(defprotocol IServerChanAdapter ; sch-adapter
25
- ; ; Wraps a web server's own ring-request->ring-response interface to
26
- ; ; abstract away implementation differences.
25
+ " Wraps a web server's own ring-request->ring-response interface to
26
+ abstract away implementation differences."
27
27
(ring-req->server-ch-resp [sch-adapter ring-req callbacks-map]
28
28
" Given a Ring request (WebSocket handshake or Ajax GET/POST), returns
29
29
a Ring response map with a web-server-specific channel :body that
You can’t perform that action at this time.
0 commit comments