-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.lisp
40 lines (34 loc) · 939 Bytes
/
package.lisp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
(cl:defpackage :hunchensocket
(:use :cl :alexandria :hunchentoot :cl-ppcre :alexandria
:flexi-streams :trivial-utf-8 :bordeaux-threads)
(:import-from :chunga :read-char*)
(:import-from :trivial-backtrace :print-backtrace)
(:import-from :hunchentoot :log-message*)
(:export
;; acceptor classes
#:websocket-acceptor
#:websocket-ssl-acceptor
#:*websocket-maximum-fragment-size*
#:*websocket-maximum-message-size*
;; dispatch table
#:*websocket-dispatch-table*
;; resource and client classes
#:websocket-resource
#:websocket-client
#:client-request
#:close-connection
;; message validation
#:check-message
;; resource accessors
#:clients
;; status updates
;;
#:client-connected
#:client-disconnected
;; receiving and sending messages
;;
#:binary-message-received
#:text-message-received
#:send-ping
#:send-text-message
#:send-binary-message))