package ocsigenserver
Module Ocsigen_requestSource
Source
type file_info = Ocsigen_multipart.file_info = {tmp_filename : string;filesize : int64;raw_original_filename : string;file_content_type : content_type option;
}Source
val 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 ->
tSource
val 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