Class StreamCacheOptions

Assembly: redb.Route.dll

Options for stream caching behavior.

public sealed class StreamCacheOptions

Inheritance

Object→StreamCacheOptions

Properties

Enabled

Enable stream caching globally for all routes. Default: false.

public bool Enabled { get; set; }

SpoolThreshold

Threshold in bytes before spooling from memory to a temp file. Default: 128 KB.

public long SpoolThreshold { get; set; }

TempDirectory

Directory for temporary spool files. Default: system temp directory.

public string? TempDirectory { get; set; }