Fork me on GitHub
#yada
<
2018-08-24
>
dominicm05:08:57

Bidi would be the way

agigao09:08:31

Well, isn’t routes function already doing that?

dominicm10:08:38

You need to call bidi to make a handler from your routes.

agigao12:08:46

Frankly, I’m a bit lost regarding the architecture… Although have read the complete Yada manual.

malcolmsparks12:08:06

Have a look to see how Edge does this, but basically you pass a bidi structure to http server

dominicm12:08:35

after calling yada/handler on it 😄