PersistedQueryHashCalculator

Deprecated

Consider migrating to AutomaticPersistedQueryCalculator instead

Replace with

import co.anitrend.retrofit.graphql.persisted.query.AutomaticPersistedQueryCalculator
AutomaticPersistedQueryCalculator

Utility class for calculating SHA256 hashes based off of the .graphql files held in memory by co.anitrend.retrofit.graphql.annotation.processor.GraphProcessor

Parameters

context

A context used to obtain an instance of GraphProcessor

Constructors

Link copied to clipboard
constructor(context: Context)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun getOrCreateAPQHash(queryName: String): String?