diff options
author | Alban Gruin | 2020-09-13 20:09:03 +0200 |
---|---|---|
committer | Alban Gruin | 2020-09-13 20:14:01 +0200 |
commit | 30927e57da3dc38a8216e1df557fd8b8110b7899 (patch) | |
tree | ccc714e11e767158339b4678d23d1bd93d60db59 /src/server.mli | |
parent | 05bb26f8f89625fde4f1c41931b501025dfc7695 (diff) |
ucs: move the server to its own module
Signed-off-by: Alban Gruin <alban at pa1ch dot fr>
Diffstat (limited to 'src/server.mli')
-rw-r--r-- | src/server.mli | 18 |
1 files changed, 18 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>. + *) + +val serve : string -> Uri.t -> Conduit_lwt_unix.server -> unit Lwt.t |