servant-rawm alternatives and similar packages
Based on the "servant" category.
Alternatively, view servant-rawm alternatives based on common mentions on social networks and blogs.
Do you think we are missing an alternative of servant-rawm or a related project?
servant-rawm 126.96.36.199, the implementations of the
RawM endpoint are
servant-rawm-server to avoid introducing unnecessary dependencies and reduce
the compilation overhead.
You will need to add either of the implementations to your dependencies, and
import the corresponding implementation (
Servant.RawM.Docs) for the
RawM endpoint to
There is code for an example server, client, and documentation located
servant-rawm-examples-and-tests/example/](servant-rawm-examples-and-tests/example/). The following section describes how to run the
The example executables can be built with the following command:
$ stack build servant-rawm-examples-and-tests
After building, the server can be run with the following command:
$ stack exec -- servant-rawm-example-server
This runs a server on port 8201 serving files
It can be accessed from
curl like the following:
$ curl http://localhost:8201/serve-directory/foo.txt This is an example text file.
After building and running the server, the client can be run like the following:
$ stack exec -- servant-rawm-example-client Successfully got file ./example/files/foo.txt: This is an example text file.
After building, the documentation can be generated like the following. This is documentation for the API defined in [servant-rawm-examples-and-tests/example/Api.hs](servant-rawm-examples-and-tests/example/Api.hs):
$ stack exec -- servant-rawm-example-docs ...
*Note that all licence references and agreements mentioned in the servant-rawm README section above are relevant to that project's source code only.