package piaf

  1. Overview
  2. Docs
An HTTP library with HTTP/2 support written entirely in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

piaf-0.2.0.tbz
sha256=07fa9009a52faeaae6d86116e75007f5279b185c7bc7c95aab9455f2107370fb
sha512=dfde4bd0a5c8a3b795a8e3d6f6e1f9f1864a9eb0a1b96763c17515d771566af7623ca64db671a8dce2c7838dad08d8465db98f5e4f8dcf5e1a386ef5b29da56c

doc/piaf.multipart_form/Piaf_multipart_form/Content_disposition/index.html

Module Piaf_multipart_form.Content_dispositionSource

Sourcetype disposition_type = [
  1. | `Inline
  2. | `Attachment
  3. | `Ietf_token of string
  4. | `X_token of string
]
Sourcetype t = {
  1. ty : disposition_type;
  2. filename : string option;
  3. creation : date option;
  4. modification : date option;
  5. read : date option;
  6. size : int option;
  7. parameters : (string * value) list;
}
Sourceand value =
  1. | String of string
  2. | Token of string
Sourceand date = unit
Sourceval error_msgf : ('a, Format.formatter, unit, ('b, [> `Msg of string ]) result) format4 -> 'a
Sourceval v : ?filename:string -> ?kind:disposition_type -> ?size:int -> string -> t
Sourceval pp_disposition_type : Format.formatter -> [< `Attachment | `Ietf_token of string | `Inline | `X_token of string ] -> unit
Sourceval pp_value : Format.formatter -> value -> unit
Sourceval pp : Format.formatter -> t -> unit
Sourceval name : t -> string option
Sourceval filename : t -> string option
Sourceval size : t -> int option
Sourceval disposition_type : t -> disposition_type
Sourceval of_escaped_character : char -> char
Sourceval is_obs_no_ws_ctl : char -> bool
Sourceval is_qtext : char -> bool
Sourceval is_wsp : char -> bool
Sourcemodule Decoder : sig ... end
Sourceval of_string : string -> (t, [> Unstrctrd.error ]) result
Sourcemodule Encoder : sig ... end
Sourceval to_string : t -> string
OCaml

Innovation. Community. Security.