View Source erf_preprocess_middleware behaviour (erf v0.1.2)
erf
's preprocessing middlewares.
Summary
Types
-type t() :: module().
Callbacks
-callback preprocess(Request) -> Result when Request :: erf:request(), Result :: {stop, Response} | {stop, Response, NewRequest} | NewRequest, NewRequest :: erf:request(), Response :: erf:response().