{"library":"apollo-link-http","type":"library","category":null,"description":"apollo-link-http is a foundational, terminating link within the Apollo Link ecosystem, designed to transport GraphQL queries, mutations, and subscriptions over standard HTTP. It serves as the primary method for connecting an Apollo Client instance to a GraphQL server via fetch. Currently at version 1.5.17, this package is considered stable but is part of the older `apollo-link` architecture, which has largely been superseded by integrated link implementations within `@apollo/client` v3 and newer. It supports both POST and GET requests and offers extensive options for dynamic URIs, custom headers, credentials, and fetch behavior, including per-query overrides via context. Its key differentiator is its modularity within the `apollo-link` chain, allowing it to be composed with other links for features like error handling, retries, or batching. It requires a `fetch` compatible API in the runtime environment.","language":"javascript","status":"maintenance","version":"1.5.17","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install apollo-link-http","imports":["import { createHttpLink } from 'apollo-link-http';","import { HttpLink } from 'apollo-link-http';"]},{"cmd":"yarn add apollo-link-http","imports":[]},{"cmd":"pnpm add apollo-link-http","imports":[]}],"homepage":"https://www.apollographql.com/docs/react/api/link/introduction","github":"https://github.com/apollographql/apollo-link","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/apollo-link-http","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/apollo-link-http/compatibility"}}