28 Commits

Author SHA1 Message Date
Anton Bachin
eead553cbd Revise example/1-hello/README.md 2021-03-24 17:46:21 +03:00
Anton Bachin
bac130fb5d Reorder examples 2021-03-24 17:33:35 +03:00
Anton Bachin
320b1db75e GraphQL skeleton support
Still needs:

- Subscriptions via WebSockets.
- Streaming.
- Variables.
2021-03-24 10:56:21 +03:00
Anton Bachin
0074b391bc Echo handler for debugging 2021-03-24 10:47:39 +03:00
Anton Bachin
a30edb3a81 Very preliminary multipart/form-data receiving
There are several defects due to the API of multipart-form-data, which
will need patching upstream. The Dream API needs simplification, in
particular Dream.begin_upload should be removed.
2021-03-23 21:33:33 +03:00
Anton Bachin
f5401e263c Duplex API for WebSockets 2021-03-21 20:41:33 +03:00
Anton Bachin
ae721d9cd7 Update examples 2021-03-20 15:18:35 +03:00
Anton Bachin
7cb6e3ada2 Restore catch as a real middleware
Get rid of the separate built_in sublibrary along the way, as it was
becoming an obstacle in the dependency graph.

The catch middleware was originally deleted as a separate middleware,
and eventually replaced by an internal middleware during error handler
unification. However, the plan is now to make that internal middleware
customizable, so restore it again as a middleware. It's still built-in,
but only as a default that can be changed.
2021-03-20 10:40:52 +03:00
Anton Bachin
6cf2f1d316 Basic static handler 2021-03-19 21:19:43 +03:00
Anton Bachin
84070b7058 Outline session docs 2021-03-18 21:53:22 +03:00
Anton Bachin
2febfe8c6d Typed sessions, pluggable back ends, good defaults 2021-03-18 21:53:14 +03:00
Anton Bachin
46571fe926 Templates: support Printf formatting 2021-03-14 16:54:25 +03:00
Anton Bachin
47fe200334 Templates: support %-lines 2021-03-14 15:14:04 +03:00
Anton Bachin
fbffb975cd One completely centralized error handler 2021-03-12 14:48:59 +03:00
Anton Bachin
5605742891 Replace under and apply by scope 2021-03-11 19:37:14 +03:00
Anton Bachin
be0b179694 Prefix tracking, new router, site composition 2021-03-11 17:19:12 +03:00
Anton Bachin
303229cacb Begin prefix/subsite support 2021-03-11 12:27:44 +03:00
Anton Bachin
29bf9ef86d Initial HTTPS support 2021-03-10 12:55:57 +03:00
Anton Bachin
8a65c9fd13 Initial WebSocket support and example 2021-03-09 22:42:54 +03:00
Anton Bachin
2d4e850075 Sketch out form example; still buggy 2021-03-09 16:43:17 +03:00
Anton Bachin
4afec46676 Templater improvements and example
- Accept a path-to-Dune-workspace option.
- Process multiple files in one run for easier Dune integration.
- Accumulate strings rather than printing them.
2021-03-09 16:42:28 +03:00
Anton Bachin
a2f5b63910 Sketch catch example 2021-03-09 11:35:46 +03:00
Anton Bachin
365e61ac83 Turn examples roadmap into links 2021-03-09 10:44:51 +03:00
Anton Bachin
0c02ece3c9 Router example 2021-03-09 10:30:49 +03:00
Anton Bachin
e16d4bc68d Examples tutorial roadmap 2021-03-08 23:19:31 +03:00
Anton Bachin
fac7340bdd Counter example (heh) 2021-03-08 22:54:26 +03:00
Anton Bachin
6ccc3bacd7 Make Request_id built in 2021-03-08 22:23:30 +03:00
Anton Bachin
65d060b9b0 Start examples 2021-03-08 21:58:15 +03:00