nova_cors_plugin (nova v0.9.3) View Source
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()}]}.
Specs
post_request(Req :: cowboy_req:req(), Options :: map()) -> {ok, Req0 :: cowboy_req:req()}.
Specs
pre_request(Req :: cowboy_req:req(), Options :: map()) -> {ok, Req0 :: cowboy_req:req()}.