LazyHeaderFactory

interface LazyHeaderFactory

An interface for lazily creating headers that allows expensive to calculate headers (oauth for example) to be generated in the background during the first fetch.

Implementations should implement equals() and hashcode() .

Functions

Link copied to clipboard
abstract fun buildHeader(): String
Returns an http header, or null if no header could be built.