AtpClient.StarExec.Session (AtpClient v0.2.0)

Copy Markdown View Source

An authenticated StarExec session.

Created by AtpClient.StarExec.login/1. The struct holds the cookies returned by Tomcat's form auth (typically JSESSIONID) and the base URL those cookies are valid for, so they can be attached to every follow-up request without going through a cookie jar.

Summary

Types

t()

@type t() :: %AtpClient.StarExec.Session{
  base_url: String.t(),
  cookies: %{optional(String.t()) => String.t()},
  opts: keyword()
}