View Source nova_request_plugin (nova v0.10.1)
Summary
Functions
nova_plugin callback. Returns information about the plugin.
Post-request callback
Pre-request callback
Functions
-spec plugin_info() ->
{Title :: binary(),
Version :: binary(),
Author :: binary(),
Description :: binary(),
Options :: [{Key :: atom(), OptionDescription :: binary()}]}.
-spec post_request(Req :: cowboy_req:req(), Options :: map()) -> {ok, Req0 :: cowboy_req:req()}.
-spec pre_request(Req :: cowboy_req:req(), Options :: map()) -> {ok, Req0 :: cowboy_req:req()}.