antikythera v0.4.0 Antikythera.Router.Impl View Source

Internal functions to implement request routing.

Link to this section Summary

Link to this section Functions

Link to this function

check_path_pattern(path_pattern)

View Source

Specs

check_path_pattern(String.t()) :: :ok
Link to this function

generate_route_function_clauses(router_module, from, routing_source)

View Source

Specs

generate_route_function_clauses(module(), :web | :gear, [route_entry()]) ::
  Macro.t()
Link to this function

route_clause_body(controller, action, path_matches, websocket?)

View Source

Specs

route_clause_body(module(), atom(), Keyword.t(String.t()), boolean()) ::
  route_result()