nova_http_handler

Callback controller for handling http requests

Types

nova_http_state/0
method/0

Functions

init(Req, State) ->
Callback function from nova_handler. This is the initial call where all the logic is handed.
handle(Mod, Fun, Req, State) ->
This function is exposed mostly cause we need to call it from nova_router. It returns the raw handle request instead of the aggregated result returned in init/2.