Skip to content

Commit

Permalink
Docs: link to example/e-json from Dream.json (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
alxtuz authored Nov 1, 2024
1 parent e94401a commit e4fa998
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/dream.mli
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,9 @@ val json :
?headers:(string * string) list ->
string -> response promise
(** Same as {!Dream.respond}, but adds [Content-Type: application/json]. See
{!Dream.application_json}. *)
{!Dream.application_json} and example
{{:https://github.com/aantron/dream/tree/master/example/e-json#files}
[e-json]}. *)

val redirect :
?status:[< redirection ] ->
Expand Down

0 comments on commit e4fa998

Please sign in to comment.