mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-06 03:05:29 -05:00
wip: add websocket library
This commit is contained in:
parent
03a2b38bad
commit
fd772bc023
6 changed files with 52 additions and 0 deletions
10
dune-project
10
dune-project
|
|
@ -27,6 +27,16 @@
|
|||
(ptime :with-test)
|
||||
(qcheck-core (and (>= 0.9) :with-test))))
|
||||
|
||||
(package
|
||||
(name tiny_httpd_ws)
|
||||
(synopsis "Websockets for tiny_httpd")
|
||||
(depends
|
||||
(tiny_httpd (= :version))
|
||||
(base64 (>= 3.0))
|
||||
crypokit
|
||||
(logs :with-test)
|
||||
(odoc :with-doc)))
|
||||
|
||||
(package
|
||||
(name tiny_httpd_camlzip)
|
||||
(synopsis "Interface to camlzip for tiny_httpd")
|
||||
|
|
|
|||
1
src/ws/common_.ml
Normal file
1
src/ws/common_.ml
Normal file
|
|
@ -0,0 +1 @@
|
|||
module IO = Tiny_httpd_io
|
||||
7
src/ws/dune
Normal file
7
src/ws/dune
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
(library
|
||||
(name tiny_httpd_ws)
|
||||
(public_name tiny_httpd_ws)
|
||||
(synopsis "Websockets for tiny_httpd")
|
||||
(private_modules common_)
|
||||
(libraries tiny_httpd base64 cryptokit))
|
||||
0
src/ws/tiny_httpd_ws.ml
Normal file
0
src/ws/tiny_httpd_ws.ml
Normal file
0
src/ws/tiny_httpd_ws.mli
Normal file
0
src/ws/tiny_httpd_ws.mli
Normal file
34
tiny_httpd_ws.opam
Normal file
34
tiny_httpd_ws.opam
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# This file is generated by dune, edit dune-project instead
|
||||
opam-version: "2.0"
|
||||
version: "0.16"
|
||||
synopsis: "Websockets for tiny_httpd"
|
||||
maintainer: ["c-cube"]
|
||||
authors: ["c-cube"]
|
||||
license: "MIT"
|
||||
homepage: "https://github.com/c-cube/tiny_httpd/"
|
||||
bug-reports: "https://github.com/c-cube/tiny_httpd/issues"
|
||||
depends: [
|
||||
"dune" {>= "2.9"}
|
||||
"tiny_httpd" {= version}
|
||||
"base64" {>= "3.0"}
|
||||
"crypokit"
|
||||
"logs" {with-test}
|
||||
"odoc" {with-doc}
|
||||
]
|
||||
build: [
|
||||
["dune" "subst"] {dev}
|
||||
[
|
||||
"dune"
|
||||
"build"
|
||||
"-p"
|
||||
name
|
||||
"-j"
|
||||
jobs
|
||||
"--promote-install-files=false"
|
||||
"@install"
|
||||
"@runtest" {with-test}
|
||||
"@doc" {with-doc}
|
||||
]
|
||||
["dune" "install" "-p" name "--create-install-files" name]
|
||||
]
|
||||
dev-repo: "git+https://github.com/c-cube/tiny_httpd.git"
|
||||
Loading…
Add table
Reference in a new issue