Server-Sent Events (SSE) parser and serializer
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

monopam quality: policy via opam.template, add proof feature, dune fmt

+3 -1
+3 -1
lib/sse.ml
··· 13 13 14 14 let pp_event ppf e = 15 15 Fmt.pf ppf "@[<v>event: %S@ data: %S@ id: %S@ retry: %a@]" e.event e.data 16 - e.last_event_id Fmt.(option int) e.retry 16 + e.last_event_id 17 + Fmt.(option int) 18 + e.retry 17 19 18 20 let equal_event a b = 19 21 String.equal a.data b.data