Skip to content

CreateDownloadOptions

Namespace: E2E.Decision.Sdk

public sealed class CreateDownloadOptions

What Create(CreateDownloadOptions) takes (the options of the AI SDK’s createDownload).

Inheritance: object

View source

public FetchFunction? Fetch { get; init; }

The transport (upstream’s fetch), for example one that validates DNS at connection time. Defaults to a shared HttpClient.

Value: FetchFunction

public long? MaxBytes { get; init; }

The most bytes a download may hold. Defaults to 2 GiB.

Value: long?