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

A struct used as default on unfetched fields.

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

examples

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

@type 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.