DiffoExample.Nbn.Router (DiffoExample v0.2.1)

Copy Markdown View Source

Diffo - TMF Service and Resource Management with a difference

NBN HTTP router. Handles the catalog endpoint directly and forwards all JSON API traffic to the AshJsonApi router.

Start with:

Plug.Cowboy.http(DiffoExample.Nbn.Router, [], port: 4000)

Summary

Functions

Callback implementation for Plug.call/2.

Callback implementation for Plug.init/1.

Functions

call(conn, opts)

Callback implementation for Plug.call/2.

init(opts)

Callback implementation for Plug.init/1.