sendApqExtensions

open override fun sendApqExtensions(sendApqExtensions: Boolean?): ApolloClient.Builder

Whether to send the Auto Persisted Queries (APQs extensions.

This is the low level API used by com.apollographql.apollo.api.http.DefaultHttpRequestComposer to determine whether to send the APQ extensions:

{
"query": "{ __typename }"
"extensions": {"persistedQuery":{"version":1,"sha256Hash":"ecf4edb46db40b5132295c0291d62fb65d6759a9eedfa4d5d612dd5ec54a6b38"}}
}

To configure APQs in general, including retry behaviour, use autoPersistedQueries and enableAutoPersistedQueries.

See also


open override var sendApqExtensions: Boolean?