PrismicInterceptor

class PrismicInterceptor : Interceptor

Interceptor for adding Prismic headers to API requests in the Discovery API.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun intercept(chain: Interceptor.Chain): Response

Intercepts and modifies the request to add the X-TMPlatform header.