Skip to content

Commit 9961bd1

Browse files
committed
prepare for 0.9
1 parent 6c810fb commit 9961bd1

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11

2+
## 0.9
3+
4+
- support handlers that stream server-sent events to client
5+
26
## 0.8
37

48
- bump to ocaml 4.04

src/Tiny_httpd.mli

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ val add_path_handler_stream :
573573
and {{: https://jvns.ca/blog/2021/01/12/day-36--server-sent-events-are-cool--and-a-fun-bug/}
574574
this blog post}.
575575
576-
@since NEXT_RELEASE
576+
@since 0.9
577577
*)
578578
module type SERVER_SENT_GENERATOR = sig
579579
val set_headers : Headers.t -> unit
@@ -594,7 +594,7 @@ end
594594

595595
type server_sent_generator = (module SERVER_SENT_GENERATOR)
596596
(** Server-sent event generator
597-
@since NEXT_RELEASE *)
597+
@since 0.9 *)
598598

599599
val add_route_server_sent_handler :
600600
?accept:(unit Request.t -> (unit, Response_code.t * string) result) ->
@@ -612,7 +612,7 @@ val add_route_server_sent_handler :
612612
613613
This handler stays on the original thread (it is synchronous).
614614
615-
@since NEXT_RELEASE *)
615+
@since 0.9 *)
616616

617617
(** {2 Run the server} *)
618618

tiny_httpd.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
opam-version: "2.0"
2-
version: "0.8"
2+
version: "0.9"
33
authors: ["Simon Cruanes"]
44
maintainer: "[email protected]"
55
license: "MIT"

tiny_httpd_camlzip.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
opam-version: "2.0"
2-
version: "0.8"
2+
version: "0.9"
33
authors: ["Simon Cruanes"]
44
maintainer: "[email protected]"
55
license: "MIT"

0 commit comments

Comments
 (0)