Class JmapSessionInfo

JmapSessionInfo class

The JMAP Session resource. Fetched once (GET, no body) from a well‑known URL and cached; describes server capabilities, accounts, and the URL templates used for every subsequent request.

public sealed class JmapSessionInfo

Constructors

NameDescription
JmapSessionInfo()The default constructor.

Properties

NameDescription
Accounts { get; }Map of account id to account information.
ApiUrl { get; }Endpoint for POSTing JMAP method‑call requests.
Capabilities { get; }Keyed by capability URN, e.g. “urn:ietf:params:jmap:core” → capability settings.
DownloadUrl { get; }URL template with {accountId},{blobId},{type},{name} placeholders for downloading blobs.
EventSourceUrl { get; }URL template for the push EventSource stream; client stores it but does not open a live stream.
PrimaryAccounts { get; }Capability URN → the account id to use by default for that capability.
State { get; }Opaque string; changes whenever anything in the Session object changes.
UploadUrl { get; }URL template with {accountId} placeholder; POST target for blob upload.
Username { get; }The username of the authenticated user.

See Also