Plug v1.10.0 Plug.Conn.Unfetched 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

Link to this type

t()

View Source
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.