From 7cabc7369efd7b0bc52da7891c810431082f27b4 Mon Sep 17 00:00:00 2001 From: Antonio Nuno Monteiro Date: Sat, 12 Jan 2019 14:05:03 +0000 Subject: [PATCH] Remove mirage bits --- httpaf_mirage.mli | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 httpaf_mirage.mli diff --git a/httpaf_mirage.mli b/httpaf_mirage.mli deleted file mode 100644 index 63fe2a5a..00000000 --- a/httpaf_mirage.mli +++ /dev/null @@ -1,23 +0,0 @@ -(* The function that results from [create_connection_handler] should be passed - to [Lwt_io.establish_server_with_client_socket]. For an example, see - [examples/lwt_echo_server.ml]. *) -module Server : sig - type request_handler = - Lwt_unix.file_descr Httpaf.Server_connection.request_handler - - val create_connection_handler - : ?config : Httpaf.Server_connection.Config.t - -> request_handler : (Unix.sockaddr -> request_handler) - -> error_handler : (Unix.sockaddr -> Httpaf.Server_connection.error_handler) - -> (Unix.sockaddr -> Lwt_unix.file_descr -> unit Lwt.t) -end - -(* For an example, see [examples/lwt_get.ml]. *) -module Client : sig - val request - : Lwt_unix.file_descr - -> Httpaf.Request.t - -> error_handler : Httpaf.Client_connection.error_handler - -> response_handler : Httpaf.Client_connection.response_handler - -> [`write] Httpaf.Body.t -end