DefaultHttpRequestComposer
class DefaultHttpRequestComposer(serverUrl: String) : HttpRequestComposer
Content copied to clipboard
An HttpRequestComposer that handles:
GET or POST requests
FileUpload by intercepting the Upload custom scalars and sending them as multipart if needed
Automatic Persisted Queries
Adding the default Apollo headers
Constructors
Types
Functions
Link copied to clipboard
open override fun <D : Operation.Data> compose(apolloRequest: ApolloRequest<D>): HttpRequest
Content copied to clipboard