commonMain.com.apollographql.apollo.network.HttpExecutionContext.kt Maven / Gradle / Ivy
package com.apollographql.apollo.network
import com.apollographql.apollo.api.ApolloExperimental
import com.apollographql.apollo.api.ExecutionContext
@ApolloExperimental
sealed class HttpExecutionContext {
data class Request(val headers: Map) : ExecutionContext.Element {
override val key: ExecutionContext.Key<*> = Key
companion object Key : ExecutionContext.Key
}
data class Response(
val statusCode: Int,
val headers: Map
) : ExecutionContext.Element {
override val key: ExecutionContext.Key<*> = Key
companion object Key : ExecutionContext.Key
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy