From 6c810fb0ed865e1ec38a12b5df9c9ee6262c8bf7 Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Sun, 18 Jul 2021 00:05:44 -0400 Subject: [PATCH] readme --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 06392cf8..04aed7da 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,10 @@ Minimal HTTP server using good old threads, with stream abstractions, simple routing, URL encoding/decoding, and optional compression with camlzip. +It also supports [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events) +([w3c](https://html.spec.whatwg.org/multipage/server-sent-events.html#event-stream-interpretation)) -Free from all forms of `ppx`, async monads, etc. +Free from all forms of `ppx`, async monads, etc. 🙃 **Note**: it can be useful to add the `jemalloc` opam package for long running server, as it does a good job at controlling memory usage. @@ -75,11 +77,11 @@ dependencies or high scalability libraries. Use cases might include: -- serve content directly from a static blog generator -- provide a web UI to some tool (like CUPS and syncthing do) -- implement a basic monitoring page for a service -- provide a simple json API for a service, on top of http -- use `http_of_dir` to serve odoc-generated docs or some assets directory +- serve content directly from a static blog generator; +- provide a web UI to some tool (like CUPS and syncthing do); +- implement a basic monitoring page for a service; +- provide a simple json API for a service, on top of http; +- use `http_of_dir` to serve odoc-generated docs or some assets directory. ## Documentation