From e4fa99812bcb2d84b1ef1b2e53784267c6fcd920 Mon Sep 17 00:00:00 2001 From: alxtuz <99323228+alxtuz@users.noreply.github.com> Date: Fri, 1 Nov 2024 11:59:45 +0300 Subject: [PATCH] Docs: link to example/e-json from Dream.json (#359) --- src/dream.mli | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dream.mli b/src/dream.mli index 27117615..708bba04 100644 --- a/src/dream.mli +++ b/src/dream.mli @@ -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 ] ->