Packages

Ewebmachine contains macros and plugs to allow you to compose HTTP decision handlers and run the HTTP decision tree to get your HTTP response. This project is a rewrite for Elixir and Plug of basho webmachine.

Current section

Files

Jump to
ewebmachine lib default.ex
Raw

lib/default.ex

defmodule DefaultRoute do
use Ewebmachine
resource [] do
to_html do: "<h1>EWebMachine works !!</h1>"
end
end