Wiki.Action.Session (mediawiki_client v0.5.3)

View Source

This module provides a struct for holding private connection state and accumulated results.

Fields

  • result - Map with recursively merged values from all requests made using this session.
  • state - Cache for session state and accumulation.

Summary

Types

client()

@type client() :: Tesla.Client.t()

result()

@type result() :: {:ok, t()} | {:error, any()}

state()

@type state() :: keyword()

t()

@type t() :: %Wiki.Action.Session{
  __client__: client(),
  result: map(),
  state: keyword()
}