package ocamlnet

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type param_value = [
  1. | `Q of string
  2. | `V of string
]
type auth_challenge = string * (string * param_value) list
type auth_credentials = string * (string * param_value) list
val parse_quoted_parameters : string -> (string * string) list
val get_accept : http_header_ro -> (string * (string * string) list * (string * string) list) list
val best_media_type : http_header_ro -> string list -> string * (string * string) list
val set_accept : http_header -> (string * (string * string) list * (string * string) list) list -> unit
val get_accept_charset : http_header_ro -> (string * (string * string) list) list
val best_charset : http_header_ro -> string list -> string
val set_accept_charset : http_header -> (string * (string * string) list) list -> unit
val get_accept_encoding : http_header_ro -> (string * (string * string) list) list
val best_encoding : http_header_ro -> string list -> string
val set_accept_encoding : http_header -> (string * (string * string) list) list -> unit
val get_accept_language : http_header_ro -> (string * (string * string) list) list
val set_accept_language : http_header -> (string * (string * string) list) list -> unit
val get_accept_ranges : http_header_ro -> string list
val set_accept_ranges : http_header -> string list -> unit
val get_age : http_header_ro -> float
val set_age : http_header -> float -> unit
val get_allow : http_header_ro -> string list
val set_allow : http_header -> string list -> unit
val get_authorization : http_header_ro -> auth_credentials
val set_authorization : http_header -> auth_credentials -> unit
val get_cache_control : http_header_ro -> cache_control_token list
val set_cache_control : http_header -> cache_control_token list -> unit
val get_connection : http_header_ro -> string list
val set_connection : http_header -> string list -> unit
val get_content_encoding : http_header_ro -> string list
val set_content_encoding : http_header -> string list -> unit
val get_content_language : http_header_ro -> string list
val set_content_language : http_header -> string list -> unit
val get_content_length : http_header_ro -> int64
val set_content_length : http_header -> int64 -> unit
val get_content_location : http_header_ro -> string
val set_content_location : http_header -> string -> unit
val get_content_md5 : http_header_ro -> string
val set_content_md5 : http_header -> string -> unit
val get_content_range : http_header_ro -> [ `Bytes of (int64 * int64) option * int64 option ]
val set_content_range : http_header -> [ `Bytes of (int64 * int64) option * int64 option ] -> unit
val get_content_type : http_header_ro -> string * (string * string) list
val set_content_type : http_header -> (string * (string * string) list) -> unit
val get_date : http_header_ro -> float
val set_date : http_header -> float -> unit
val get_etag : http_header_ro -> etag
val set_etag : http_header -> etag -> unit
val get_expect : http_header_ro -> (string * string option * (string * string) list) list
val set_expect : http_header -> (string * string option * (string * string) list) list -> unit
val get_expires : http_header_ro -> float
val set_expires : http_header -> float -> unit
val get_from : http_header_ro -> string
val set_from : http_header -> string -> unit
val get_host : http_header_ro -> string * int option
val set_host : http_header -> (string * int option) -> unit
val get_if_match : http_header_ro -> etag list option
val set_if_match : http_header -> etag list option -> unit
val get_if_modified_since : http_header_ro -> float
val set_if_modified_since : http_header -> float -> unit
val get_if_none_match : http_header_ro -> etag list option
val set_if_none_match : http_header -> etag list option -> unit
val get_if_range : http_header_ro -> [ `Date of float | `Etag of etag ]
val set_if_range : http_header -> [ `Date of float | `Etag of etag ] -> unit
val get_if_unmodified_since : http_header_ro -> float
val set_if_unmodified_since : http_header -> float -> unit
val get_last_modified : http_header_ro -> float
val set_last_modified : http_header -> float -> unit
val get_location : http_header_ro -> string
val set_location : http_header -> string -> unit
val get_max_forwards : http_header_ro -> int
val set_max_forwards : http_header -> int -> unit
val get_pragma : http_header_ro -> (string * string option) list
val set_pragma : http_header -> (string * string option) list -> unit
val get_proxy_authenticate : http_header_ro -> auth_challenge list
val set_proxy_authenticate : http_header -> auth_challenge list -> unit
val get_proxy_authorization : http_header_ro -> auth_credentials
val set_proxy_authorization : http_header -> auth_credentials -> unit
val get_range : http_header_ro -> [ `Bytes of (int64 option * int64 option) list ]
val set_range : http_header -> [ `Bytes of (int64 option * int64 option) list ] -> unit
val get_referer : http_header_ro -> string
val get_referrer : http_header_ro -> string
val set_referer : http_header -> string -> unit
val set_referrer : http_header -> string -> unit
val get_retry_after : http_header_ro -> [ `Date of float | `Seconds of int ]
val set_retry_after : http_header -> [ `Date of float | `Seconds of int ] -> unit
val get_server : http_header_ro -> string
val set_server : http_header -> string -> unit
val get_te : http_header_ro -> (string * (string * string) list * (string * string) list) list
val set_te : http_header -> (string * (string * string) list * (string * string) list) list -> unit
val get_trailer : http_header_ro -> string list
val set_trailer : http_header -> string list -> unit
val get_transfer_encoding : http_header_ro -> (string * (string * string) list) list
val set_transfer_encoding : http_header -> (string * (string * string) list) list -> unit
val get_upgrade : http_header_ro -> string list
val set_upgrade : http_header -> string list -> unit
val get_user_agent : http_header_ro -> string
val set_user_agent : http_header -> string -> unit
val get_vary : http_header_ro -> [ `Fields of string list | `Star ]
val set_vary : http_header -> [ `Fields of string list | `Star ] -> unit
val get_www_authenticate : http_header_ro -> auth_challenge list
val set_www_authenticate : http_header -> auth_challenge list -> unit
OCaml

Innovation. Community. Security.