View Source Antikythera.Router.Impl (antikythera v0.5.1)

Internal functions to implement request routing.

Summary

Functions

Link to this function

check_path_pattern(path_pattern)

View Source
@spec check_path_pattern(String.t()) :: :ok
Link to this function

generate_route_function_clauses(router_module, from, routing_source)

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

route_clause_body(controller, action, path_matches, websocket?, timeout \\ GearActionTimeout.default())

View Source
@spec route_clause_body(
  module(),
  atom(),
  Keyword.t(String.t()),
  boolean(),
  pos_integer()
) :: route_result()