View Source nova_cors_plugin (nova v0.10.4)
Summary
Functions
nova_plugin callback. Returns information about the plugin.
Post-request callback
Pre-request callback
Functions
-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()}.