expose all modules again

This commit is contained in:
Simon Cruanes 2024-02-27 13:38:35 -05:00
parent 384515a594
commit 1debf0f688
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
2 changed files with 17 additions and 13 deletions

View file

@ -1,16 +1,20 @@
module Buf = Buf module Buf = Buf
include Server
module Util = Util
module Dir = Tiny_httpd_unix.Dir
module type VFS = Tiny_httpd_unix.Dir.VFS
module Html = Tiny_httpd_html module Html = Tiny_httpd_html
module IO = Tiny_httpd_core.IO module IO = Tiny_httpd_core.IO
module Request = Tiny_httpd_core.Request
module Response = Tiny_httpd_core.Response
module Response_code = Tiny_httpd_core.Response_code
module Route = Tiny_httpd_core.Route
module Headers = Tiny_httpd_core.Headers
module Meth = Tiny_httpd_core.Meth
module Pool = Tiny_httpd_core.Pool module Pool = Tiny_httpd_core.Pool
module Log = Tiny_httpd_core.Log module Log = Tiny_httpd_core.Log
module Server = Tiny_httpd_core.Server module Server = Tiny_httpd_core.Server
module Util = Tiny_httpd_core.Util
include Server include Server
module Dir = Tiny_httpd_unix.Dir
module type VFS = Tiny_httpd_unix.Dir.VFS
open struct open struct
let get_max_connection_ ?(max_connections = 64) () : int = let get_max_connection_ ?(max_connections = 64) () : int =

View file

@ -89,13 +89,6 @@ module IO = Tiny_httpd_core.IO
module Log = Tiny_httpd_core.Log module Log = Tiny_httpd_core.Log
(** {2 Main Server Type} *)
(** @inline *)
include module type of struct
include Tiny_httpd_core.Server
end
(** {2 Utils} *) (** {2 Utils} *)
module Util = Tiny_httpd_core.Util module Util = Tiny_httpd_core.Util
@ -118,8 +111,15 @@ module Html = Tiny_httpd_html
(** {2 Main server types} *) (** {2 Main server types} *)
module Request = Tiny_httpd_core.Request
module Response = Tiny_httpd_core.Response
module Response_code = Tiny_httpd_core.Response_code
module Route = Tiny_httpd_core.Route
module Headers = Tiny_httpd_core.Headers
module Meth = Tiny_httpd_core.Meth
module Server = Tiny_httpd_core.Server module Server = Tiny_httpd_core.Server
(** @inline *)
include module type of struct include module type of struct
include Server include Server
end end