.oO SearXNG Developer Documentation Oo.
Loading...
Searching...
No Matches
searx.extended_types.SXNG_Response Class Reference
+ Inheritance diagram for searx.extended_types.SXNG_Response:
+ Collaboration diagram for searx.extended_types.SXNG_Response:

Detailed Description

SearXNG extends the class :py:obj:`httpx.Response` with properties from
*this* class (type cast of :py:obj:`httpx.Response`).

.. code:: python

   response = httpx.get("https://example.org")
   response = typing.cast(SXNG_Response, response)
   if response.ok:
      ...

Definition at line 70 of file extended_types.py.


The documentation for this class was generated from the following file: