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

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

fields

Fields

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

Link to this section Summary

Link to this section 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()
}