Ragex. API. Server
(Ragex v0.18.1)
View Source
Lightweight HTTP server for the Ragex REST API bridge.
Wraps Bandit with the Ragex.API.Router plug. Started optionally
when config :ragex, :start_api is true, or manually via
mix ragex.serve.
Configuration
config :ragex,
start_api: true,
api_port: 4321Manual Start
Ragex.API.Server.start_link(port: 4321)
Summary
Functions
Start the HTTP server.