Skip to content
A webframework for Reason and OCaml
OCaml C++
Branch: master
Clone or download
ulrikstrid Merge pull request #10 from reason-native-web/documentation
Play with making documentation executable
Latest commit 04f9e0a Sep 16, 2019

README.md

morph

Build Status

A tiny framework for developing HTTP stuff in reason native using Httpaf and H2.

Documentation

https://reason-native-web.github.io/

The documentation is not as fleshed out as it should be, the repos is under heavy development.

Build and run examples

esy install
esy build
esy examples
$(esy examples-path)/hello_world.exe
$(esy examples-path)/with_router.exe
$(esy examples-path)/simple_proxy.exe

Example

Server:

Morph.start_server(_request => Http.Response.Ok.make)
|> Lwt_main.run;

Slightly larger example using ocaml-routes: https://github.com/reason-native-web/morph/blob/master/examples/with_router.re

You can’t perform that action at this time.