Packages

Libreria de configuracion rapida de servidor local de aplicaciones elixir

Current section

Files

Jump to
Raw

lib/plug.ex

defmodule People.Plug do
import Plug.Conn
def init(options) do
# initialize options
options
end
def call(conn, _opts) do
conn
|> put_resp_content_type("text/plain")
|> send_resp(200, "Hello from the People project!")
end
end