ace v0.13.1 Ace.Raxx.Handler View Source
Using the Raxx handler is the simplest way to get a worker started.
The Raxx handler is provided when simple request -> response usecases.
defmodule MyApp.SimpleHandler do
use Ace.Raxx.Handler
def handle_request(_request, _config) do
Raxx.Response.ok("Hello, World!", [{"content-length", "13"}])
end
end