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

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



  • 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()