package ocsigenserver

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Ocsigen_requestSource

Sourcetype t
Sourcetype content_type = (string * string) * (string * string) list
Sourcetype file_info = Ocsigen_multipart.file_info = {
  1. tmp_filename : string;
  2. filesize : int64;
  3. raw_original_filename : string;
  4. file_content_type : content_type option;
}
Sourcetype post_data = (string * string) list * (string * file_info) list
Sourceval make : ?forward_ip:string list -> ?sub_path:string -> ?original_full_path:string -> ?request_cache:Polytables.t -> ?cookies_override:string Ocsigen_cookie_map.Map_inner.t -> address:Unix.inet_addr -> port:int -> ssl:bool -> filenames:string list ref -> sockaddr:Lwt_unix.sockaddr -> body:Cohttp_lwt.Body.t -> connection_closed:unit Lwt.t -> Cohttp.Request.t -> t
Sourceval update : ?ssl:bool -> ?forward_ip:string list -> ?remote_ip:string -> ?sub_path:string -> ?meth:Cohttp.Code.meth -> ?get_params_flat:(string * string) list -> ?post_data:post_data option -> ?cookies_override:string Ocsigen_cookie_map.Map_inner.t -> ?full_rewrite:bool -> ?uri:Uri.t -> t -> t
Sourceval to_cohttp : t -> Cohttp.Request.t
Sourceval uri : t -> Uri.t
Sourceval body : t -> Cohttp_lwt.Body.t
Sourceval address : t -> Unix.inet_addr
Sourceval host : t -> string option
Sourceval meth : t -> Cohttp.Code.meth
Sourceval port : t -> int
Sourceval ssl : t -> bool
Sourceval version : t -> Cohttp.Code.version
Sourceval query : t -> string option
Sourceval get_params : t -> (string * string list) list
Sourceval get_params_flat : t -> (string * string) list
Sourceval path : t -> string list
Sourceval path_string : t -> string
Sourceval sub_path : t -> string list
Sourceval sub_path_string : t -> string
Sourceval original_full_path : t -> string list
Sourceval original_full_path_string : t -> string
Sourceval header : t -> Ocsigen_header.Name.t -> string option
Sourceval header_multi : t -> Ocsigen_header.Name.t -> string list
Sourceval add_header : t -> Ocsigen_header.Name.t -> string -> t
Sourceval cookies : t -> string Ocsigen_cookie_map.Map_inner.t
Sourceval files : t -> string option -> Int64.t option -> (string * file_info) list Lwt.t option
Sourceval post_params : t -> string option -> Int64.t option -> (string * string) list Lwt.t option
Sourceval remote_ip : t -> string
Sourceval remote_ip_parsed : t -> Ipaddr.t
Sourceval forward_ip : t -> string list
Sourceval content_type : t -> content_type option
Sourceval request_cache : t -> Polytables.t
Sourceval tries : t -> int
Sourceval incr_tries : t -> unit
Sourceval connection_closed : t -> unit Lwt.t
Sourceval timeofday : t -> float
OCaml

Innovation. Community. Security.