File: requests.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-- 378 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
.. _requests_transport:

RequestsHTTPTransport
=====================

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

Reference: :class:`gql.transport.requests.RequestsHTTPTransport`

.. literalinclude:: ../code_examples/requests_sync.py

.. _requests: https://requests.readthedocs.io