W3cubDocs

/Phoenix

Plug.Conn.Unfetched

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

Types

t()

Functions

fetch(map, key)

Callback implementation for Access.fetch/2.

pop(map, key)

Callback implementation for Access.pop/2.

Types

t()

Specs

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

Functions

fetch(map, key)

Callback implementation for Access.fetch/2.

get(map, key, value)

get_and_update(map, key, fun)

Callback implementation for Access.get_and_update/3.

pop(map, key)

Callback implementation for Access.pop/2.

© 2013 Plataformatec
Licensed under the Apache License, Version 2.0.
https://hexdocs.pm/plug/Plug.Conn.Unfetched.html