mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-05 19:00:32 -05:00
expose all modules again
This commit is contained in:
parent
384515a594
commit
1debf0f688
2 changed files with 17 additions and 13 deletions
|
|
@ -1,16 +1,20 @@
|
|||
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 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 Log = Tiny_httpd_core.Log
|
||||
module Server = Tiny_httpd_core.Server
|
||||
module Util = Tiny_httpd_core.Util
|
||||
include Server
|
||||
module Dir = Tiny_httpd_unix.Dir
|
||||
|
||||
module type VFS = Tiny_httpd_unix.Dir.VFS
|
||||
|
||||
open struct
|
||||
let get_max_connection_ ?(max_connections = 64) () : int =
|
||||
|
|
|
|||
|
|
@ -89,13 +89,6 @@ module IO = Tiny_httpd_core.IO
|
|||
|
||||
module Log = Tiny_httpd_core.Log
|
||||
|
||||
(** {2 Main Server Type} *)
|
||||
|
||||
(** @inline *)
|
||||
include module type of struct
|
||||
include Tiny_httpd_core.Server
|
||||
end
|
||||
|
||||
(** {2 Utils} *)
|
||||
|
||||
module Util = Tiny_httpd_core.Util
|
||||
|
|
@ -118,8 +111,15 @@ module Html = Tiny_httpd_html
|
|||
|
||||
(** {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
|
||||
|
||||
(** @inline *)
|
||||
include module type of struct
|
||||
include Server
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue