You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have finally choosen Cohhtp-lwt as the library for the HTTP client.
For an HTTP-Server, the same library can be used. However, there are probably better alternatives : Dream and Ocsigen.
Dream is really simple to use, but its eml parsing would need specific Dune stanza. I don't know if a dune file example would fit the Cookbook format. An alternative would be Dream + Dream_html. I tend to prefer this way. An other way is the ppx_dream_eml where the eml preprocessing is directly included in a PPX.
Ocsigen seems to be more complex but more powerfull (if client/server is needed), needs a mysite.conf...
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have finally choosen
Cohhtp-lwt
as the library for the HTTP client.For an HTTP-Server, the same library can be used. However, there are probably better alternatives : Dream and Ocsigen.
Dream is really simple to use, but its
eml
parsing would need specific Dune stanza. I don't know if adune
file example would fit the Cookbook format. An alternative would be Dream + Dream_html. I tend to prefer this way. An other way is theppx_dream_eml
where theeml
preprocessing is directly included in a PPX.Ocsigen seems to be more complex but more powerfull (if client/server is needed), needs a
mysite.conf
...Advices...
Beta Was this translation helpful? Give feedback.
All reactions