Multipart subscriptions

Strawberry supports subscription over multipart responses. This is an alternative protocol created by Apollo to support subscriptions over HTTP, and it is supported by default by Apollo Client.

Support

We support multipart subscriptions out of the box in the following HTTP libraries:

  • Django (only in the Async view)
  • ASGI
  • Litestar
  • FastAPI
  • AioHTTP
  • Quart

Usage

Multipart subscriptions are automatically enabled when using Subscription, so no additional configuration is required.

Was this helpful? What can we improve?

Edit on Github

Newsletter 💌

Do you want to receive the latest updates on Strawberry? Subscribe to our newsletter!