Metatags.Transport protocol (metatags v0.6.0)

View Source

Functions for transporting metatada along with the request lifecycle, whether it be a Plug.Conn, a Phoenix.LiveView.Socket or something else.

Summary

Types

t()

@type t() :: struct() | map()

Functions

get_metatags(transport)

@spec get_metatags(t()) :: Metatags.Config.t()

init(transport, options)

@spec init(t(), Keyword.t()) :: t()

put(transport, key, value)

@spec put(t(), String.t() | atom(), any()) :: t()