File: httpx.rst

package info (click to toggle)
python-gql 3.6.0~b4-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,824 kB
  • sloc: python: 20,567; makefile: 52
file content (13 lines) | stat: -rw-r--r-- 332 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
.. _httpx_transport:

HTTPXTransport
==============

The HTTPXTransport is a sync transport using the `httpx`_ library
and allows you to send GraphQL queries using the HTTP protocol.

Reference: :class:`gql.transport.httpx.HTTPXTransport`

.. literalinclude:: ../code_examples/httpx_sync.py

.. _httpx: https://www.python-httpx.org