Skip to content

HTTPCacheBuilder

A builder struct for constructing an instance of the HTTPCache class with optional configuration options and callbacks.

Methods:

HTTPCacheBuilder WithOptions(HTTPCacheOptions)

Sets the configuration options for the HTTP cache.

HTTPCacheBuilder WithOptions(HTTPCacheOptionsBuilder)

Sets the configuration options for the HTTP cache using an HTTPCacheOptionsBuilder.

HTTPCacheBuilder WithBeforeBeginCacheCallback(OnBeforeBeginCacheDelegate)

Sets a callback delegate to be executed before caching of an entity begins.

HTTPCache Build()

Builds and returns an instance of the HTTPCache with the specified configuration options and callback delegate.

Comments