package devkit

  1. Overview
  2. Docs
Development kit - general purpose library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

1.20261006.tar.gz
md5=a39dbbce04bd5562a9b4443daf39c582
sha512=b10104b61384b2151521b785e7f3c3250134c75eae09b42cad69bc4a22a9a5e429beb891ee87cedf376c23d9c40f09d3f71c3fd48aa35df490c0f69dc17f3242

doc/devkit.core/Devkit_core/Httpev/Answer/index.html

Module Httpev.AnswerSource

Sourceval return : ?status:??? -> ?extra:??? -> typ:string -> string -> [> `Body of reply_status reply' ] Lwt.t
Sourceval text : ?status:??? -> ?extra:??? -> string -> [> `Body of reply_status reply' ] Lwt.t
Sourceval binary : ?status:??? -> ?extra:??? -> string -> [> `Body of reply_status reply' ] Lwt.t
Sourceval printf : ?status:??? -> ?extra:??? -> ('a, unit, string, [> `Body of reply_status reply' ] Lwt.t) format4 -> 'a
Sourceval json : ?status:??? -> ?extra:??? -> string -> [> `Body of reply_status reply' ] Lwt.t
Sourceval yojson : ?status:??? -> ?extra:??? -> Yojson.Safe.t -> [> `Body of reply_status reply' ] Lwt.t
Sourceval encoded_gzip : request -> ?status:??? -> ?extra:??? -> typ:string -> string -> [> `Body of reply_status reply' ] Lwt.t

Return a body that's already gzip-encoded, add corresponding content-encoding

Sourceval error : reply_status -> string -> [> `Body of reply_status reply' ] Lwt.t
Sourceval not_found : string -> [> `Body of reply_status reply' ] Lwt.t
Sourceval bad_request : string -> [> `Body of reply_status reply' ] Lwt.t
Sourceval internal_error : string -> [> `Body of reply_status reply' ] Lwt.t
Sourceexception No_path
Sourceval random_ref : unit -> Int64.t
Sourceval rest : show_exn:bool -> request -> ((module Args) -> (meth * string) -> ([> `Body of reply_status reply' ] as 'a) Lwt.t) -> 'a Lwt.t