package opium
OCaml web framework
Install
dune-project
Dependency
Authors
Maintainers
Sources
opium-0.20.0.tbz
sha256=326b91866de90baf535f8b7d4b2ff23e39d952e573c04b3c13f1054b59ff2fb6
sha512=59b83e7c8fe5f7ae328fb7f2343fe5b8fb735e8f6ee263cfd6c75bb179688ef7cf2b4586b35a2231ed3f3c1ada543021b7a4759326ae095eb77a5f38b9fa3a8a
doc/opium/Opium/Version/index.html
Module Opium.Version
Source
Protocol Version
HTTP uses a "<major>.<minor>" numbering scheme to indicate versions of the protocol. The protocol version as a whole indicates the sender's conformance with the set of requirements laid out in that version's corresponding specification of HTTP.
See RFC7230§2.6 for more details.
compare x y
returns 0
if version x
is equal to version y
, a negative integer if version x
is less than version y
, and a positive integer if version x
is greater than version y
.
Utilities
pp
formats the request t
as an s-expression
pp_hum
formats the request t
as a standard HTTP request
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page