commit | 611254eb941e502227f221667389b98fd8e72d6f | [log] [tgz] |
---|---|---|
author | Bob Ippolito <bob@redivi.com> | Thu Mar 21 12:58:59 2024 -0700 |
committer | GitHub <noreply@github.com> | Thu Mar 21 12:58:59 2024 -0700 |
tree | 5b04f2223f73b6657e46bbdf6ad64dff9bb23978 | |
parent | 4e5372e2fddac7ccfab8ef6f44b7f11246d3f842 [diff] | |
parent | 004080bf15883c58d8ce548cc40057c8aba22f2a [diff] |
Merge pull request #262 from michallepicki/otp-27 Use single quotes around 'maybe' atom for compatibility with OTP 27
MochiWeb is an Erlang library for building lightweight HTTP servers.
MochiWeb provides a lightweight and fast solution for building HTTP servers in Erlang. The library provides features for building robust and scalable HTTP servers.
Before you can use MochiWeb, you'll need to have Erlang OTP installed. Once you have Erlang OTP installed, you can download the latest version of MochiWeb from the GitHub repository.
For a MochiWeb project, first obtain a copy of MochiWeb using Git by running the command.
$ git clone git://github.com/mochi/mochiweb.git.
To create a project.
$ cd mochiweb $ make app PROJECT=exampleName
You can now start the project with.
$ cd ../exampleName/ $ make $ ./start-dev.sh
You can access the app by navigating to http://localhost:8080 in your browser.
For an example, view the example_project
in the examples/
folder.
Lightweight: MochiWeb is designed to be lightweight and fast, making it ideal for use in resource-constrained environments.
Easy to use: MochiWeb provides a simple and intuitive API that makes it easy to get started with building HTTP servers.
Robust: MochiWeb provides a comprehensive set of features for building robust and scalable HTTP servers.
Information about Rebar (Erlang build tool)
OTP 21.2 (up to and including 21.2.2) introduced an SSL regression that makes these releases unsafe to use. See ERL-830. This issue was resolved in OTP 21.2.3.
MochiWeb is an open-source project and welcomes contributions from the community.