diff --git a/dev/tiny_httpd/Tiny_httpd/.dummy b/dev/tiny_httpd/Tiny_httpd/.dummy deleted file mode 100644 index e69de29b..00000000 diff --git a/dev/tiny_httpd/Tiny_httpd_atomic_/.dummy b/dev/tiny_httpd/Tiny_httpd_atomic_/.dummy deleted file mode 100644 index e69de29b..00000000 diff --git a/dev/tiny_httpd/Tiny_httpd_buf/.dummy b/dev/tiny_httpd/Tiny_httpd_buf/.dummy deleted file mode 100644 index e69de29b..00000000 diff --git a/dev/tiny_httpd/Tiny_httpd_dir/.dummy b/dev/tiny_httpd/Tiny_httpd_dir/.dummy deleted file mode 100644 index e69de29b..00000000 diff --git a/dev/tiny_httpd/Tiny_httpd_html/.dummy b/dev/tiny_httpd/Tiny_httpd_html/.dummy deleted file mode 100644 index e69de29b..00000000 diff --git a/dev/tiny_httpd/Tiny_httpd_html_/.dummy b/dev/tiny_httpd/Tiny_httpd_html_/.dummy deleted file mode 100644 index e69de29b..00000000 diff --git a/dev/tiny_httpd/Tiny_httpd_html_/A/index.html b/dev/tiny_httpd/Tiny_httpd_html_/A/index.html new file mode 100644 index 00000000..48a2a04e --- /dev/null +++ b/dev/tiny_httpd/Tiny_httpd_html_/A/index.html @@ -0,0 +1,2 @@ + +A (tiny_httpd.Tiny_httpd_html_.A)

Module Tiny_httpd_html_.A

Attributes.

This module contains combinator for the standard attributes. One can also just use a pair of strings.

type t = string -> attribute

Attribute builder

val accept : t

Attribute "accept".

val accept_charset : t

Attribute "accept-charset".

val accesskey : t

Attribute "accesskey".

val action : t

Attribute "action".

val align : t

Attribute "align".

val allow : t

Attribute "allow".

val alt : t

Attribute "alt".

val async : t

Attribute "async".

val autocapitalize : t

Attribute "autocapitalize".

val autocomplete : t

Attribute "autocomplete".

val autofocus : t

Attribute "autofocus".

val autoplay : t

Attribute "autoplay".

val buffered : t

Attribute "buffered".

val capture : t

Attribute "capture".

val challenge : t

Attribute "challenge".

val charset : t

Attribute "charset".

val checked : t

Attribute "checked".

val cite : t

Attribute "cite".

val class_ : t

Attribute "class".

val code : t

Attribute "code".

val codebase : t

Attribute "codebase".

val cols : t

Attribute "cols".

val colspan : t

Attribute "colspan".

val content : t

Attribute "content".

val contenteditable : t

Attribute "contenteditable".

val contextmenu : t

Attribute "contextmenu".

val controls : t

Attribute "controls".

val coords : t

Attribute "coords".

val crossorigin : t

Attribute "crossorigin".

val csp : t

Attribute "csp".

val data : t

Attribute "data".

val data_star : t

Attribute "data-*".

val datetime : t

Attribute "datetime".

val decoding : t

Attribute "decoding".

val default : t

Attribute "default".

val defer : t

Attribute "defer".

val dir : t

Attribute "dir".

val dirname : t

Attribute "dirname".

val disabled : t

Attribute "disabled".

val download : t

Attribute "download".

val draggable : t

Attribute "draggable".

val enctype : t

Attribute "enctype".

val enterkeyhint : t

Attribute "enterkeyhint".

val for_ : t

Attribute "for".

val form : t

Attribute "form".

val formaction : t

Attribute "formaction".

val formenctype : t

Attribute "formenctype".

val formmethod : t

Attribute "formmethod".

val formnovalidate : t

Attribute "formnovalidate".

val formtarget : t

Attribute "formtarget".

val headers : t

Attribute "headers".

val hidden : t

Attribute "hidden".

val high : t

Attribute "high".

val href : t

Attribute "href".

val hreflang : t

Attribute "hreflang".

val http_equiv : t

Attribute "http-equiv".

val icon : t

Attribute "icon".

val id : t

Attribute "id".

val importance : t

Attribute "importance".

val integrity : t

Attribute "integrity".

val ismap : t

Attribute "ismap".

val itemprop : t

Attribute "itemprop".

val keytype : t

Attribute "keytype".

val kind : t

Attribute "kind".

val label : t

Attribute "label".

val lang : t

Attribute "lang".

val language : t

Attribute "language".

val list : t

Attribute "list".

val loop : t

Attribute "loop".

val low : t

Attribute "low".

val manifest : t

Attribute "manifest".

val max : t

Attribute "max".

val maxlength : t

Attribute "maxlength".

val minlength : t

Attribute "minlength".

val media : t

Attribute "media".

val method_ : t

Attribute "method".

val min : t

Attribute "min".

val multiple : t

Attribute "multiple".

val muted : t

Attribute "muted".

val name : t

Attribute "name".

val novalidate : t

Attribute "novalidate".

val open_ : t

Attribute "open".

val optimum : t

Attribute "optimum".

val pattern : t

Attribute "pattern".

val ping : t

Attribute "ping".

val placeholder : t

Attribute "placeholder".

val poster : t

Attribute "poster".

val preload : t

Attribute "preload".

val radiogroup : t

Attribute "radiogroup".

val readonly : t

Attribute "readonly".

val referrerpolicy : t

Attribute "referrerpolicy".

val rel : t

Attribute "rel".

val required : t

Attribute "required".

val reversed : t

Attribute "reversed".

val rows : t

Attribute "rows".

val rowspan : t

Attribute "rowspan".

val sandbox : t

Attribute "sandbox".

val scope : t

Attribute "scope".

val scoped : t

Attribute "scoped".

val selected : t

Attribute "selected".

val shape : t

Attribute "shape".

val size : t

Attribute "size".

val sizes : t

Attribute "sizes".

val slot : t

Attribute "slot".

val span : t

Attribute "span".

val spellcheck : t

Attribute "spellcheck".

val src : t

Attribute "src".

val srcdoc : t

Attribute "srcdoc".

val srclang : t

Attribute "srclang".

val srcset : t

Attribute "srcset".

val start : t

Attribute "start".

val step : t

Attribute "step".

val style : t

Attribute "style".

val summary : t

Attribute "summary".

val tabindex : t

Attribute "tabindex".

val target : t

Attribute "target".

val title : t

Attribute "title".

val translate : t

Attribute "translate".

val text : t

Attribute "Text".

val type_ : t

Attribute "type".

val usemap : t

Attribute "usemap".

val value : t

Attribute "value".

val width : t

Attribute "width".

val wrap : t

Attribute "wrap".

\ No newline at end of file diff --git a/dev/tiny_httpd/Tiny_httpd_html_/Out/index.html b/dev/tiny_httpd/Tiny_httpd_html_/Out/index.html new file mode 100644 index 00000000..e3a7915e --- /dev/null +++ b/dev/tiny_httpd/Tiny_httpd_html_/Out/index.html @@ -0,0 +1,2 @@ + +Out (tiny_httpd.Tiny_httpd_html_.Out)

Module Tiny_httpd_html_.Out

Output for HTML combinators.

This output type is used to produce a string reasonably efficiently from a tree of combinators.

type t
val create : unit -> t
val clear : t -> unit
val add_char : t -> char -> unit
val add_string : t -> string -> unit
val add_format_nl : t -> unit
val with_no_format_nl : t -> (unit -> 'a) -> 'a
val to_string : t -> string
\ No newline at end of file diff --git a/dev/tiny_httpd/Tiny_httpd_io/.dummy b/dev/tiny_httpd/Tiny_httpd_io/.dummy deleted file mode 100644 index e69de29b..00000000 diff --git a/dev/tiny_httpd/Tiny_httpd_io/In_channel/index.html b/dev/tiny_httpd/Tiny_httpd_io/In_channel/index.html new file mode 100644 index 00000000..9e66b392 --- /dev/null +++ b/dev/tiny_httpd/Tiny_httpd_io/In_channel/index.html @@ -0,0 +1,2 @@ + +In_channel (tiny_httpd.Tiny_httpd_io.In_channel)

Module Tiny_httpd_io.In_channel

type t = {
  1. input : bytes -> int -> int -> int;
    (*

    Read into the slice. Returns 0 only if the channel is closed.

    *)
  2. close : unit -> unit;
}
val of_in_channel : ?close_noerr:bool -> Stdlib.in_channel -> t
val of_unix_fd : ?close_noerr:bool -> Unix.file_descr -> t
val input : t -> bytes -> int -> int -> int
val close : t -> unit
\ No newline at end of file diff --git a/dev/tiny_httpd/Tiny_httpd_io/Out_channel/index.html b/dev/tiny_httpd/Tiny_httpd_io/Out_channel/index.html new file mode 100644 index 00000000..6255ce08 --- /dev/null +++ b/dev/tiny_httpd/Tiny_httpd_io/Out_channel/index.html @@ -0,0 +1,2 @@ + +Out_channel (tiny_httpd.Tiny_httpd_io.Out_channel)

Module Tiny_httpd_io.Out_channel

type t = {
  1. output : bytes -> int -> int -> unit;
    (*

    Output slice

    *)
  2. flush : unit -> unit;
    (*

    Flush underlying buffer

    *)
  3. close : unit -> unit;
}
val of_out_channel : ?close_noerr:bool -> Stdlib.out_channel -> t
val output : t -> bytes -> int -> int -> unit
val output_string : t -> string -> unit
val close : t -> unit
val flush : t -> unit
val output_buf : t -> Buf.t -> unit
\ No newline at end of file diff --git a/dev/tiny_httpd/Tiny_httpd_io/TCP_server/index.html b/dev/tiny_httpd/Tiny_httpd_io/TCP_server/index.html new file mode 100644 index 00000000..851c2a3c --- /dev/null +++ b/dev/tiny_httpd/Tiny_httpd_io/TCP_server/index.html @@ -0,0 +1,2 @@ + +TCP_server (tiny_httpd.Tiny_httpd_io.TCP_server)

Module Tiny_httpd_io.TCP_server

A TCP server abstraction

type conn_handler = {
  1. handle : In_channel.t -> Out_channel.t -> unit;
    (*

    Handle client connection

    *)
}
type t = {
  1. endpoint : unit -> string * int;
    (*

    Endpoint we listen on. This can only be called from within serve.

    *)
  2. active_connections : unit -> int;
    (*

    Number of connections currently active

    *)
  3. running : unit -> bool;
    (*

    Is the server currently running?

    *)
  4. stop : unit -> unit;
    (*

    Ask the server to stop. This might not take effect immediately.

    *)
}

Running server.

type builder = {
  1. serve : after_init:(t -> unit) -> handle:conn_handler -> unit -> unit;
    (*

    Blocking call to listen for incoming connections and handle them. Uses the connection handler to handle individual client connections.

    *)
}

A TCP server implementation.

\ No newline at end of file diff --git a/dev/tiny_httpd/Tiny_httpd_pool/.dummy b/dev/tiny_httpd/Tiny_httpd_pool/.dummy deleted file mode 100644 index e69de29b..00000000 diff --git a/dev/tiny_httpd/Tiny_httpd_server/.dummy b/dev/tiny_httpd/Tiny_httpd_server/.dummy deleted file mode 100644 index e69de29b..00000000 diff --git a/dev/tiny_httpd/Tiny_httpd_stream/.dummy b/dev/tiny_httpd/Tiny_httpd_stream/.dummy deleted file mode 100644 index e69de29b..00000000 diff --git a/dev/tiny_httpd/Tiny_httpd_util/.dummy b/dev/tiny_httpd/Tiny_httpd_util/.dummy deleted file mode 100644 index e69de29b..00000000 diff --git a/dev/tiny_httpd_camlzip/Tiny_httpd_camlzip/.dummy b/dev/tiny_httpd_camlzip/Tiny_httpd_camlzip/.dummy deleted file mode 100644 index e69de29b..00000000 diff --git a/dev/tiny_httpd_eio/Tiny_httpd_eio/.dummy b/dev/tiny_httpd_eio/Tiny_httpd_eio/.dummy deleted file mode 100644 index e69de29b..00000000