mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-06 11:15:35 -05:00
prepare for 0.18
This commit is contained in:
parent
3c9e505a45
commit
f6daff24c0
7 changed files with 9 additions and 9 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
(authors c-cube)
|
(authors c-cube)
|
||||||
(maintainers c-cube)
|
(maintainers c-cube)
|
||||||
(version 0.17)
|
(version 0.18)
|
||||||
(source (github c-cube/tiny_httpd))
|
(source (github c-cube/tiny_httpd))
|
||||||
(homepage https://github.com/c-cube/tiny_httpd/)
|
(homepage https://github.com/c-cube/tiny_httpd/)
|
||||||
(license MIT)
|
(license MIT)
|
||||||
|
|
|
||||||
|
|
@ -170,7 +170,7 @@ val create :
|
||||||
used instead of the [addr] and [port]. If not passed in, those will be
|
used instead of the [addr] and [port]. If not passed in, those will be
|
||||||
used. This parameter exists since 0.10.
|
used. This parameter exists since 0.10.
|
||||||
@param enable_logging if true and [Logs] is installed, log requests. Default true.
|
@param enable_logging if true and [Logs] is installed, log requests. Default true.
|
||||||
This parameter exists since NEXT_RELEASE. Does not affect debug-level logs.
|
This parameter exists since 0.18. Does not affect debug-level logs.
|
||||||
|
|
||||||
@param get_time_s obtain the current timestamp in seconds.
|
@param get_time_s obtain the current timestamp in seconds.
|
||||||
This parameter exists since 0.11.
|
This parameter exists since 0.11.
|
||||||
|
|
|
||||||
|
|
@ -14,4 +14,4 @@ val dummy : bool
|
||||||
val fully_disable : unit -> unit
|
val fully_disable : unit -> unit
|
||||||
(** Totally silence logs for tiny_httpd. With [Logs] installed this means setting
|
(** Totally silence logs for tiny_httpd. With [Logs] installed this means setting
|
||||||
the level of the tiny_httpd source to [None].
|
the level of the tiny_httpd source to [None].
|
||||||
@since NEXT_RELEASE *)
|
@since 0.18 *)
|
||||||
|
|
|
||||||
|
|
@ -126,7 +126,7 @@ val pp_with :
|
||||||
Default is ["set-cookie"].
|
Default is ["set-cookie"].
|
||||||
@param pp_body body printer
|
@param pp_body body printer
|
||||||
(default fully prints String bodies, but omits stream bodies)
|
(default fully prints String bodies, but omits stream bodies)
|
||||||
@since NEXT_RELEASE *)
|
@since 0.18 *)
|
||||||
|
|
||||||
val pp : Format.formatter -> t -> unit
|
val pp : Format.formatter -> t -> unit
|
||||||
(** Pretty print the response. The exact format is not specified. *)
|
(** Pretty print the response. The exact format is not specified. *)
|
||||||
|
|
|
||||||
|
|
@ -95,10 +95,10 @@ val create_from :
|
||||||
{!set_top_handler} to specify how to handle incoming requests.
|
{!set_top_handler} to specify how to handle incoming requests.
|
||||||
|
|
||||||
@param buf_size size for buffers (since 0.11)
|
@param buf_size size for buffers (since 0.11)
|
||||||
@param head_middlewares see {!add_head_middleware} for details (since NEXT_RELEASE)
|
@param head_middlewares see {!add_head_middleware} for details (since 0.18)
|
||||||
@param middlewares see {!add_middleware} for more details.
|
@param middlewares see {!add_middleware} for more details.
|
||||||
@param enable_logging if true and [Logs] is installed,
|
@param enable_logging if true and [Logs] is installed,
|
||||||
emit logs via Logs (since NEXT_RELEASE).
|
emit logs via Logs (since 0.18).
|
||||||
Default [true].
|
Default [true].
|
||||||
|
|
||||||
@since 0.14
|
@since 0.14
|
||||||
|
|
@ -158,7 +158,7 @@ val add_head_middleware : t -> Head_middleware.t -> unit
|
||||||
(** Add a request-header only {!Head_middleware.t}.
|
(** Add a request-header only {!Head_middleware.t}.
|
||||||
This is called on requests, to modify them, and returns a new request
|
This is called on requests, to modify them, and returns a new request
|
||||||
immediately.
|
immediately.
|
||||||
@since NEXT_RELEASE *)
|
@since 0.18 *)
|
||||||
|
|
||||||
(** {2 Request handlers} *)
|
(** {2 Request handlers} *)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# This file is generated by dune, edit dune-project instead
|
# This file is generated by dune, edit dune-project instead
|
||||||
opam-version: "2.0"
|
opam-version: "2.0"
|
||||||
version: "0.17"
|
version: "0.18"
|
||||||
synopsis: "Minimal HTTP server using threads"
|
synopsis: "Minimal HTTP server using threads"
|
||||||
maintainer: ["c-cube"]
|
maintainer: ["c-cube"]
|
||||||
authors: ["c-cube"]
|
authors: ["c-cube"]
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# This file is generated by dune, edit dune-project instead
|
# This file is generated by dune, edit dune-project instead
|
||||||
opam-version: "2.0"
|
opam-version: "2.0"
|
||||||
version: "0.17"
|
version: "0.18"
|
||||||
synopsis: "Interface to camlzip for tiny_httpd"
|
synopsis: "Interface to camlzip for tiny_httpd"
|
||||||
maintainer: ["c-cube"]
|
maintainer: ["c-cube"]
|
||||||
authors: ["c-cube"]
|
authors: ["c-cube"]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue