View Source Wiki.Action.Session (mediawiki_client v0.4.7)

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

@type client() :: Tesla.Client.t()
@type result() :: {:ok, t()} | {:error, any()}
@type state() :: keyword()
@type t() :: %Wiki.Action.Session{
  __client__: client(),
  result: map(),
  state: keyword()
}