package simple_httpd
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Simple HTTP server using ocaml 5 domains
Install
dune-project
Dependency
Authors
Maintainers
Sources
1.0.1.tar.gz
md5=92fe48592979d21002e66416c21bf398
sha512=88f090ce45b81cf244f248670608ff71c0db206da5de859c5e784e4fc59698acb329218bfffc81f4ff9796ae465c23e1faf08aaee804cb22dfe50cea757a854d
doc/simple_httpd/Simple_httpd/Dir/Embedded_fs/index.html
Module Dir.Embedded_fsSource
An embedded file system, as a list of files with (relative) paths. This is useful in combination with the "simple-httpd-mkfs" tool, which embeds the files it's given into a OCaml module.
The pseudo-filesystem
add_file ~path content add at path with the given content to the virtual file system.
Add some dynamic content to the virtual file system.
Source
val add_path :
t ->
path:string ->
?mtime:float ->
?headers:Headers.t ->
?deflate:string ->
string ->
unitadd_path vfs ~path real_path add a path to a file on disk at real_path in the embedded file system
Convert a pseudo file system into a vfs to use with Dir.add_vfs.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>