Miles Alden
interface TourService { @POST("/") suspend fun toursQuery( @Header("Authorization") auth: String, @Header("Content-Type") content: String = "application/json", @Body body: String): List<Tour> } object ApolloBuilder { private const val BASE_URL = "<https://somewhere.com>" private fun getApollo(): ApolloClient { return ApolloClient.builder() .serverUrl(BASE_URL) .build() } }
@Header
Saharath Kleips
graphql-kotlin
RequestHeader
Shane Myrick
A modern programming language that makes developers happier.