0.0.3 • Published 4 years ago
apollo-link-multipart v0.0.3
apollo-link-multipart
An ApolloLink aimed at supporting
@defer
through multipart responses.
⚙️ Install
yarn add apollo-link-multipart
🚀 Usage
import { ApolloClient } from '@apollo/client/core';
import { ApolloLink } from '@apollo/client/link/core';
const client = new ApolloClient({
cache: new InMemoryCache(),
link: ApolloLink.from([
// takes all the options from HttpLink
createMultipartLink(),
]),
});
Related
- meros A fast utility for reading streamed multipart/mixed responses.
License
MIT © Marais Rossouw