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

Configure Feed

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

ocaml-sse: qualify Bytes.Reader and add bytesrw to mdx libs

The example used [Bytes.Reader.of_string] which only resolves once
[bytesrw] is in scope. Qualify as [Bytesrw.Bytes.Reader.of_string]
and add [bytesrw] to the mdx libraries.

+2 -2
+1 -1
README.md
··· 59 59 60 60 ```ocaml 61 61 let parser = Sse.Parser.create () 62 - let reader = Bytes.Reader.of_string "data:hello\n\n" 62 + let reader = Bytesrw.Bytes.Reader.of_string "data:hello\n\n" 63 63 let events = Sse.Parser.read parser reader 64 64 ``` 65 65
+1 -1
dune
··· 4 4 5 5 (mdx 6 6 (files README.md) 7 - (libraries sse)) 7 + (libraries sse bytesrw))