Companion

object Companion

Functions

Link copied to clipboard
fun String.appendQueryParameters(parameters: Map<String, String>): String

A very simplified method to append query parameters

Link copied to clipboard
fun <D : Operation.Data> buildParamsMap(    operation: Operation<D>,     customScalarAdapters: CustomScalarAdapters,     autoPersistQueries: Boolean,     sendDocument: Boolean): ByteString
Link copied to clipboard
fun <D : Operation.Data> buildPostBody(    operation: Operation<D>,     customScalarAdapters: CustomScalarAdapters,     autoPersistQueries: Boolean,     query: String?): HttpBody
Link copied to clipboard
fun <D : Operation.Data> composePayload(apolloRequest: ApolloRequest<D>): Map<String, Any?>

Properties

Link copied to clipboard
const val HEADER_APOLLO_OPERATION_ID: String
Link copied to clipboard
const val HEADER_APOLLO_OPERATION_NAME: String