Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CachingWebClient

An asynchronous cache aware HTTP / HTTP/2 client called CachingWebClient.

This client wraps a WebClient and makes it cache aware by adding features to it:

  • Cache-Control header parsing
  • Freshness checking

The client honors the following cache headers:

  • Cache-Control with the following properties understood:
    • public
    • private
    • no-cache
    • no-store
    • max-age
    • s-maxage
    • stale-if-error
    • staile-while-revalidate
    • must-revalidate
  • Expires
  • ETag
  • Vary

Hierarchy

  • CachingWebClient

Index

Methods

Methods

Static create

  • Create a cache aware web client using the provided WebClient.

    Parameters

    Returns WebClient

  • Create a cache aware web client using the provided WebClient.

    Parameters

    Returns WebClient

  • Create a cache aware web client using the provided WebClient.

    Parameters

    Returns WebClient

  • Create a cache aware web client using the provided WebClient.

    Parameters

    Returns WebClient

Generated using TypeDoc