nova_request_plugin (NOVA vv0.8.0)

Link to this section Summary

Functions

nova_plugin callback. Returns information about the plugin.
Post-request callback
Pre-request callback

Link to this section Functions

Specs

plugin_info() ->
               {Title :: binary(),
                Version :: binary(),
                Author :: binary(),
                Description :: binary(),
                Options :: [{Key :: atom(), OptionDescription :: binary()}]}.
nova_plugin callback. Returns information about the plugin.
Link to this function

post_http_request(State, Options)

Specs

post_http_request(State :: nova:state(), Options :: map()) ->
                     {ok, State0 :: nova:state()} |
                     {stop, State0 :: nova:state()} |
                     {error, Reason :: term()}.
Post-request callback
Link to this function

pre_http_request(State, Options)

Specs

pre_http_request(State :: nova:state(), Options :: map()) ->
                    {ok, State0 :: nova:state()} |
                    {stop, State0 :: nova:state()} |
                    {error, Reason :: term()}.
Pre-request callback