parent
7fbbc1b527
commit
e0be19cac1
|
@ -6,6 +6,7 @@
|
||||||
web-server/http
|
web-server/http
|
||||||
racket/list
|
racket/list
|
||||||
racket/async-channel
|
racket/async-channel
|
||||||
|
(prefix-in raw: (for-label net/tcp-unit))
|
||||||
net/websocket
|
net/websocket
|
||||||
net/websocket/client
|
net/websocket/client
|
||||||
net/websocket/server
|
net/websocket/server
|
||||||
|
@ -46,6 +47,7 @@ This module also provides the exports from @racketmodname[net/websocket/conn].
|
||||||
conn-headers
|
conn-headers
|
||||||
(bytes? (listof header?) . -> . (values (listof header?) any/c))
|
(bytes? (listof header?) . -> . (values (listof header?) any/c))
|
||||||
(λ (b hs) (values empty (void)))]
|
(λ (b hs) (values empty (void)))]
|
||||||
|
[#:tcp@ tcp@ (unit/c (import) (export tcp^)) raw:tcp@]
|
||||||
[#:port port tcp-listen-port? 80]
|
[#:port port tcp-listen-port? 80]
|
||||||
[#:listen-ip listen-ip (or/c string? false/c) #f]
|
[#:listen-ip listen-ip (or/c string? false/c) #f]
|
||||||
[#:max-waiting max-waiting integer? 4]
|
[#:max-waiting max-waiting integer? 4]
|
||||||
|
@ -64,6 +66,7 @@ This module also provides the exports from @racketmodname[net/websocket/conn].
|
||||||
|
|
||||||
All other arguments are used as in a @secref["dispatch-server-unit" #:doc '(lib "web-server/scribblings/web-server-internal.scrbl")].
|
All other arguments are used as in a @secref["dispatch-server-unit" #:doc '(lib "web-server/scribblings/web-server-internal.scrbl")].
|
||||||
|
|
||||||
|
The @racket[#:tcp@] keyword is provided for building an SSL server.
|
||||||
}
|
}
|
||||||
|
|
||||||
This module also provides the exports from @racketmodname[net/websocket/conn].
|
This module also provides the exports from @racketmodname[net/websocket/conn].
|
||||||
|
|
Loading…
Reference in New Issue
Block a user