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

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}

Summary

Functions

Callback implementation for Access.fetch/2.

Callback implementation for Access.pop/2.

Types

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

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.