reason-native-web / morph

A webframework for Reason and OCaml
https://reason-native-web.github.io/morph/
MIT License
139 stars 7 forks source link

Refactor to make the body more general #33

Closed ulrikstrid closed 4 years ago

ulrikstrid commented 4 years ago

This refactor makes the response body more general and can be extended by server implementations. The PR is mostly a proof of concept, I'm not sure if there's much value in it, but there are some nuggets here that we want to integrate, maybe as separate PRs.

I know that the code needs a cleanup.