View Source CharonAbsinthe (CharonAbsinthe v0.2.0)

Absinthe integration for Charon.

Link to this section Summary

Functions

Absinthe helper to send any response cookies present in the context. To be used as a before_send hook for Absinthe.Plug. Response cookies will be set by CharonAbsinthe.PostSessionChangeMiddleware.

Link to this section Functions

Link to this function

send_context_cookies(conn, blueprint)

View Source
@spec send_context_cookies(Plug.Conn.t(), Absinthe.Blueprint.t()) :: Plug.Conn.t()

Absinthe helper to send any response cookies present in the context. To be used as a before_send hook for Absinthe.Plug. Response cookies will be set by CharonAbsinthe.PostSessionChangeMiddleware.