package ocsigenserver

  1. Overview
  2. Docs
type etag = string
module Result : sig ... end
type result = Result.result
val lastmodified : result -> float option
val etag : result -> string option
val code : result -> int
val stream : result -> string Ocsigen_stream.t * (string Ocsigen_stream.t -> int64 -> string Ocsigen_stream.step Lwt.t) option
val content_length : result -> int64 option
val content_type : result -> string option
val headers : result -> Http_headers.t
val charset : result -> string option
val location : result -> string option
val default : unit -> result
val update : result -> ?cookies:Ocsigen_cookies.cookieset -> ?lastmodified:float option -> ?etag:string option -> ?code:int -> ?stream: (string Ocsigen_stream.t * (string Ocsigen_stream.t -> int64 -> string Ocsigen_stream.step Lwt.t) option) -> ?content_length:int64 option -> ?content_type:string option -> ?headers:Http_headers.t -> ?charset:string option -> ?location:string option -> unit -> result
val empty : unit -> result
module type HTTP_CONTENT = sig ... end
module Http_header : sig ... end
module Http_error : sig ... end
type t = {
  1. frame_header : Http_header.http_header;
  2. frame_content : string Ocsigen_stream.t option;
  3. frame_abort : unit -> unit Lwt.t;
}