5. A specification for
composable modules in
between web applications
Also, connection adapters for
different web servers in the
Erlang VM
6. Plugs can be
• any function that accepts a connection
and options and returns the connection
• any module that implements `init` and
`call`
• any module that `use`s Plug.Builder
8. Conn
• Request and response rolled together
• Just a struct at the end of the day
• direct interface to the underlying web
server
• assigns is how you pass information from
one plug to a future plug