MastodonClient.Conn (mastodon_client v0.1.0) View Source

A conn represents the connection to an instance. It's used by API functions to provide the instance URL and authentication.

%MastodonClient{
  instance: "https://gleasonator.com",
  access_token: "OkgdLaYHU8A6Dc70eW7gSfBQzPFpwWI6UfHg2F2zQdM"
}

Link to this section Summary

Types

t()

Struct representing a connection to an instance.

Link to this section Types

Specs

t() :: %MastodonClient.Conn{
  access_token: String.t() | nil,
  instance: String.t() | nil
}

Struct representing a connection to an instance.