From 5a2b2ff17c116eb33647811a68e228e80a2bdded Mon Sep 17 00:00:00 2001 From: Vincent Balat Date: Fri, 19 Jan 2024 18:40:37 +0100 Subject: [PATCH] basics: Adding image with example of requests --- tutos/7.1/manual/basics.wiki | 11 + .../files/tutorial/client-server-req.svg | 553 ++++++++++++++++++ tutos/dev/manual/basics.wiki | 11 + .../files/tutorial/client-server-req.svg | 553 ++++++++++++++++++ 4 files changed, 1128 insertions(+) create mode 100644 tutos/7.1/manual/files/tutorial/client-server-req.svg create mode 100644 tutos/dev/manual/files/tutorial/client-server-req.svg diff --git a/tutos/7.1/manual/basics.wiki b/tutos/7.1/manual/basics.wiki index f399872b..a15e368d 100644 --- a/tutos/7.1/manual/basics.wiki +++ b/tutos/7.1/manual/basics.wiki @@ -577,6 +577,17 @@ let%client c : int = 3 + ~%x <
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + page generation + let%rpc f (x : int) : int = ... [%client ... ~%b ... ] Lwt.return v + ... [%client ... ~%a ... ] Lwt.return (html (...) (...)) + execution of client values[%client ... ~%a ...] + execution of client values[%client ... ~%b ...] + rpc + jshtml+ ~% injections + value v+ ~% injections + https://... + display page + display page + click on a link + + page generation + client + server + + + + + + + + + diff --git a/tutos/dev/manual/basics.wiki b/tutos/dev/manual/basics.wiki index f399872b..a15e368d 100644 --- a/tutos/dev/manual/basics.wiki +++ b/tutos/dev/manual/basics.wiki @@ -577,6 +577,17 @@ let%client c : int = 3 + ~%x <
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + page generation + let%rpc f (x : int) : int = ... [%client ... ~%b ... ] Lwt.return v + ... [%client ... ~%a ... ] Lwt.return (html (...) (...)) + execution of client values[%client ... ~%a ...] + execution of client values[%client ... ~%b ...] + rpc + jshtml+ ~% injections + value v+ ~% injections + https://... + display page + display page + click on a link + + page generation + client + server + + + + + + + + +