Skip to content

sandervanhooft/apollo-upload-network-interface

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

apollo-upload-network-interface

UploadNetworkInterface for Apollo GraphQL Client. Adds support for multipart/form-data requests.

Used together with graphql-server-express-upload and graphql-server-koa-upload (coming soon).

Usage

import ApolloClient from 'apollo-client'
import createNetworkInterface from 'apollo-upload-network-interface'

const networkInterface = createNetworkInterface({
  uri: '/graphql',
})

const client = new ApolloClient({
  networkInterface
})

TODO

  • Add some tests

About

UploadNetworkInterface for Apollo GraphQL Client

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%