diff --git a/tiny_httpd/Tiny_httpd_core/Headers/index.html b/tiny_httpd/Tiny_httpd_core/Headers/index.html index 93590dbe..a52a60df 100644 --- a/tiny_httpd/Tiny_httpd_core/Headers/index.html +++ b/tiny_httpd/Tiny_httpd_core/Headers/index.html @@ -1,2 +1,2 @@ -
Tiny_httpd_core.HeadersHeaders
Headers are metadata associated with a request or response.
The header files of a request or response.
Neither the key nor the value can contain '\r' or '\n'. See https://tools.ietf.org/html/rfc7230#section-3.2
val empty : tEmpty list of headers.
val get : ?f:(string -> string) -> string -> t -> string optionget k headers looks for the header field with key k.
val get_exn : ?f:(string -> string) -> string -> t -> stringset k v headers sets the key k to value v. It erases any previous entry for k
val contains : string -> t -> boolIs there a header with the given key?
val pp : Stdlib.Format.formatter -> t -> unitPretty print the headers.
val parse_ : buf:Buf.t -> IO.Input.t -> tTiny_httpd_core.HeadersHeaders
Headers are metadata associated with a request or response.
The header files of a request or response.
Neither the key nor the value can contain '\r' or '\n'. See https://tools.ietf.org/html/rfc7230#section-3.2
val empty : tEmpty list of headers.
val get : ?f:(string -> string) -> string -> t -> string optionget k headers looks for the header field with key k.
val get_exn : ?f:(string -> string) -> string -> t -> stringset k v headers sets the key k to value v. It erases any previous entry for k
val contains : string -> t -> boolIs there a header with the given key?
val pp : Stdlib.Format.formatter -> t -> unitPretty print the headers.
val parse_ : buf:Buf.t -> IO.Input.t -> t/
val parse_line_ : string -> (string * string, string) result/
Tiny_httpd_multipart_form_data.Content_dispositionval to_string : t -> stringSimple display
val parse : Tiny_httpd.Headers.t -> t optionTiny_httpd_multipart_form_data.Private_/
/
Tiny_httpd_multipart_form_dataStreaming parser for multipart/form-data
module Content_disposition : sig ... endval create :
+ ?buf_size:int ->
+ ?out_buf_size:int ->
+ boundary:string ->
+ Iostream.In.t ->
+ stval parse_content_type : Tiny_httpd.Headers.t -> [ `boundary of string ] optionParse headers for content-type: multipart/form-data; boundary=…
type slice = Iostream.Slice.tmodule Private_ : sig ... end/
Tiny_httpd_multipart_form_data__This module is hidden.
Tiny_httpd_multipart_form_data__Content_dispositionThis module is hidden.
Tiny_httpd_multipart_form_data__Utils_This module is hidden.
Tiny_httpd Tiny Http ServerTiny_httpd_core Tiny_httpd_html HTML combinators.Tiny_httpd_prometheus Expose metrics over HTTP in the prometheus format.Tiny_httpd_unix Tiny_httpd_ws Websockets for Tiny_httpd.Tiny_httpd Tiny Http ServerTiny_httpd_core Tiny_httpd_html HTML combinators.Tiny_httpd_multipart_form_data Streaming parser for multipart/form-dataTiny_httpd_prometheus Expose metrics over HTTP in the prometheus format.Tiny_httpd_unix Tiny_httpd_ws Websockets for Tiny_httpd.