Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

ReaderWebOptions

Namespace OfficeIMO.Reader.Web
Assembly OfficeIMO.Reader.Web
Modifiers sealed

Controls bounded HTTP retrieval before content enters an existing Reader pipeline.

Inheritance

  • Object
  • ReaderWebOptions

Usage

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

Accepted by parameters

Constructors

Properties

public Int64 MaxResponseBytes { get; set; } #

Gets or sets the maximum downloaded response bytes. Default: 64 MiB.

public TimeSpan RequestTimeout { get; set; } #

Gets or sets the timeout covering response headers and body download. Default: two minutes.

public Int32 MaxConcurrentRequests { get; set; } #

Gets or sets the maximum concurrent web read operations on one OfficeDocumentWebReader. Default: 4.

public IReadOnlyList<String> AllowedHosts { get; set; } #

Gets or sets an optional exact host allowlist. An empty list permits any host that passes the scheme and non-public IP-literal checks.

public Boolean AllowSubdomains { get; set; } #

Gets or sets whether subdomains of entries in AllowedHosts are permitted.

public Boolean AllowLocalhostAndNonPublicIpLiterals { get; set; } #

Gets or sets whether localhost names and loopback, private, link-local, or non-routable IP literals are permitted. Default: false.

public Boolean IncludeQueryInMetadata { get; set; } #

Gets or sets whether query strings are retained in transport metadata. Default: false. Keep disabled when URLs may contain signed tokens or other secrets.

Fields

public const Int64 DefaultMaxResponseBytes #

Default maximum downloaded response size: 64 MiB.

Value: 67108864
public const Int64 MaximumResponseBytes #

Maximum supported response bound: 1 GiB.

Value: 1073741824