package scgi

  1. Overview
  2. Docs

Module Scgi.RequestSource

Sourcetype t

SCGI request

Sourcetype header = [
  1. | `Http_accept_charset
  2. | `Http_accept_language
  3. | `Http_accept_encoding
  4. | `Http_referer
  5. | `Http_accept
  6. | `Http_content_type
  7. | `Http_content_md5
  8. | `Http_user_agent
  9. | `Http_origin
  10. | `Http_cache_control
  11. | `Http_content_length
  12. | `Http_connection
  13. | `Http_host
  14. | `Http_authorization
  15. | `Http_date
  16. | `Http_x_forwarded_proto
  17. | `Http_x_forwarded_port
  18. | `Http_x_forwarded_for
  19. | `Server_name
  20. | `Server_port
  21. | `Remote_port
  22. | `Remote_addr
  23. | `Server_protocol
  24. | `Other of string
]
Sourceval make : Http_method.t -> Uri.t -> Headers.t -> string -> t
Sourceval of_stream : char Lwt_stream.t -> t Lwt.t
Sourceval to_string : t -> string
Sourceval content_length : t -> int
Sourceval meth : t -> Http_method.t
Sourceval uri : t -> Uri.t
Sourceval path : t -> string
Sourceval contents : t -> string
Sourceval param : t -> string -> string option
Sourceval param_exn : ?default:string -> t -> string -> string
Sourceval params_get : t -> (string * string) list
Sourceval params_post : t -> (string * string) list
Sourceval header : t -> header -> string list
Sourceval to_debug_string : t -> string
OCaml

Innovation. Community. Security.