Hi yada noob here, I’m trying to integrate sente with yada, Is there an example or guide defining sente’s required “chsk” route? Something like the following always gives 406:
...
["chsk"
(resource
{:methods
{:get {:response #'ring-ajax-get-or-ws-handshake}
:post {:response #'ring-ajax-post}}})]
yada has native support for server-sent events, if that's what you're using sente for.
if you already depend on sente otherwise, though, then I'm not sure. probably best to look at integrating generic Ring handlers in yada, since sente publishes Ring handlers.
Thanks. I’m aware of yada server-sent events. Looking at Sente for it’s full stack unified API.
makes sense
(I'm new to yada myself. the only part I know well is the auth system, since the new stuff is poorly documented and I dug into the code to grok it.)
Yeah that’s too bad. I actually evaluated Yada 2 years ago. Looks like the doc stayed the same. Back then the edge examples are straight forward to run. But now not so obvious …
there have been some updates to the documentation, but they haven't been re-published on the main yada or edge doc sites.
which is almost worse.