package owebl

  1. Overview
  2. Docs
val listen_sock : Unix.file_descr
val read_from_sock : Unix.file_descr -> string
val write_to_sock : Unix.file_descr -> bytes -> unit
type r = Server.r =
  1. | EmptyRequest
  2. | ValidRequest of Request.t
val get_request : Unix.file_descr -> r
val get_response : Request.t -> Handler.t list -> Response.Response.r
val validate : Unix.file_descr -> Response.Response.r -> unit
val do_listen : Unix.file_descr -> Handler.t list -> unit
val do_listen_helper : Unix.file_descr -> Unix.file_descr -> Handler.t list -> unit
class server : string -> int -> Handler.t list -> object ... end
val default_port : int
val default_address : string
val create : Handler.t list -> Server.server
val serve : Handler.t list -> Server.server
OCaml

Innovation. Community. Security.