Inngest.Router.Plug (Inngest v0.3.0)

Copy Markdown View Source

Router module expected to be used with a Plug.Router.

Examples

use Inngest.Router, :plug

Generated Inngest routes parse JSON and urlencoded request bodies with Inngest.CacheBodyReader before invoking functions or syncing registrations. If your router runs another Plug.Parsers plug before dispatching to Inngest, configure that parser with Inngest.CacheBodyReader so signed requests can still be verified against the raw request body.

Summary

Functions

inngest(path, opts)

(macro)