package ez_api
Easy API library and tools
Install
Dune Dependency
github.com
Readme
LGPL-2.1-only WITH OCaml-LGPL-linking-exception License
Edit opam file
Versions (6)
Authors
Maintainers
Sources
0.1.0.tar.gz
md5=58526e7091d0e3817bbaf540d6b3ef66
sha512=060cdb7be7ddb48f76bbb21194d8ca6883ba28c6140fb83423243ed76e7b1c29b34a27d29aeadb85fe8b4d8fe459f74b1c2a8d8eba1f8cb75daba7f9d75785ba
doc/src/ez_api/meth.ml.html
Source file meth.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
type empty = [ `OPTIONS | `HEAD ] type t = [ `GET | `POST | `PUT | `DELETE | `PATCH ] type all = [ t | empty ] let to_string : [< all ] -> string = function | `GET -> "get" | `POST -> "post" | `PUT -> "put" | `DELETE -> "delete" | `PATCH -> "patch" | `OPTIONS -> "options" | `HEAD -> "head" let headers l = let meths = String.concat "," @@ List.map to_string l in [ "access-control-allow-methods", meths ]
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>