From 30927e57da3dc38a8216e1df557fd8b8110b7899 Mon Sep 17 00:00:00 2001 From: Alban Gruin Date: Sun, 13 Sep 2020 20:09:03 +0200 Subject: ucs: move the server to its own module Signed-off-by: Alban Gruin --- src/server.mli | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/server.mli (limited to 'src/server.mli') diff --git a/src/server.mli b/src/server.mli new file mode 100644 index 0000000..af3f0e8 --- /dev/null +++ b/src/server.mli @@ -0,0 +1,18 @@ +(* + * Copyright (C) 2020 Alban Gruin + * + * ucs is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published + * by the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * ucs is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with ucs. If not, see . + *) + +val serve : string -> Uri.t -> Conduit_lwt_unix.server -> unit Lwt.t -- cgit v1.2.1