# ConfluenceSessionOptions

Options shared by Confluence Cloud requests.

Class 

`OfficeIMO.Confluence`

**Namespace**

`OfficeIMO.Confluence`

**Assembly**

`OfficeIMO.Confluence`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[ConfluenceSession.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Confluence/ConfluenceSession.cs#L13)

**Modifiers**

sealed

Options shared by Confluence Cloud requests.

## Inheritance

- object
- ConfluenceSessionOptions

## Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [ConfluenceSession.Options](/api/confluence/officeimo-confluence-confluencesession/#property-options)

### Accepted by parameters 1

- Constructor [ConfluenceSession.ConfluenceSession](/api/confluence/officeimo-confluence-confluencesession/#constructor-ctor-officeimo-confluence-iconfluencecredentialsource-officeimo-confluence-confluencesessionoptions) parameter `options`

Filter members 

Show inherited

## Constructors

`public ConfluenceSessionOptions()` [#](#constructor-ctor)

[ConfluenceSession.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Confluence/ConfluenceSession.cs#L13)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public Uri SiteUri { get; set; }` [#](#property-siteuri)

[ConfluenceSession.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Confluence/ConfluenceSession.cs#L6)

Confluence site URL, for example https://example.atlassian.net/wiki/. Direct API requests use its origin.

`public string? CloudId { get; set; }` [#](#property-cloudid)

[ConfluenceSession.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Confluence/ConfluenceSession.cs#L11)

Atlassian Cloud identifier used by OAuth 2.0 (3LO). When supplied, requests are routed through https://api.atlassian.com/ex/confluence/{cloudId}/ while [ConfluenceSessionOptions.SiteUri](/api/confluence/officeimo-confluence-confluencesessionoptions/) remains the human-facing site.

`public string ApplicationName { get; set; }` [#](#property-applicationname)

[ConfluenceSession.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Confluence/ConfluenceSession.cs#L13)

Gets or sets the application label used in the request User-Agent; blank values fall back to OfficeIMO.

`public HttpClient? HttpClient { get; set; }` [#](#property-httpclient)

[ConfluenceSession.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Confluence/ConfluenceSession.cs#L15)

Gets or sets an optional caller-owned HTTP client, which ConfluenceClient does not dispose.

`public TimeSpan RequestTimeout { get; set; }` [#](#property-requesttimeout)

[ConfluenceSession.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Confluence/ConfluenceSession.cs#L17)

Gets or sets the positive timeout for each HTTP attempt, excluding retry delays.

`public int MaxRetryCount { get; set; }` [#](#property-maxretrycount)

[ConfluenceSession.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Confluence/ConfluenceSession.cs#L19)

Gets or sets the maximum number of additional attempts for retryable reads; writes are not retried.

`public TimeSpan RetryBaseDelay { get; set; }` [#](#property-retrybasedelay)

[ConfluenceSession.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Confluence/ConfluenceSession.cs#L21)

Gets or sets the non-negative initial delay used for exponential read retries.

`public TimeSpan RetryMaxDelay { get; set; }` [#](#property-retrymaxdelay)

[ConfluenceSession.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Confluence/ConfluenceSession.cs#L23)

Gets or sets the non-negative cap on retry delays, including a server Retry-After value.

<!-- PowerForge markdown artifact sha256:EE1680DD7E6D41ACFBFA68ED53A1DE3FC40026D58DDDCAD562D571290F15A2FB -->
