Plug.Conn.Unfetched (Plug v1.12.1) View Source

A struct used as default on unfetched fields.

The :aspect key of the struct specifies what field is still unfetched.

Examples

unfetched = %Plug.Conn.Unfetched{aspect: :cookies}

Link to this section Summary

Functions

Callback implementation for Access.fetch/2.

Callback implementation for Access.pop/2.

Link to this section Types

Specs

t() :: %Plug.Conn.Unfetched{aspect: atom()}

Link to this section Functions

Callback implementation for Access.fetch/2.

Link to this function

get_and_update(map, key, fun)

View Source

Callback implementation for Access.get_and_update/3.

Callback implementation for Access.pop/2.