.oO SearXNG Developer Documentation Oo.
Loading...
Searching...
No Matches
searx.network.Request Class Reference
Inheritance diagram for searx.network.Request:
Collaboration diagram for searx.network.Request:

Static Public Member Functions

 get (str url, **t.Any kwargs)
 options (str url, **t.Any kwargs)
 head (str url, **t.Any kwargs)
 post (str url, **t.Any kwargs)
 put (str url, **t.Any kwargs)
 patch (str url, **t.Any kwargs)
 delete (str url, **t.Any kwargs)

Static Public Attributes

dict kwargs = {}

Detailed Description

Request description for the multi_requests function

Definition at line 137 of file __init__.py.

Member Function Documentation

◆ delete()

searx.network.Request.delete ( str url,
**t.Any kwargs )
static

Definition at line 169 of file __init__.py.

169 def delete(url: str, **kwargs: t.Any):
170 return Request('DELETE', url, kwargs)
171
172

◆ get()

searx.network.Request.get ( str url,
**t.Any kwargs )
static

Definition at line 145 of file __init__.py.

145 def get(url: str, **kwargs: t.Any):
146 return Request('GET', url, kwargs)
147

Referenced by searx.result_types._base.LegacyResult.__init__(), searx.result_types._base.LegacyResult.defaults_from(), and searx.answerers._core.AnswerStorage.register().

Here is the caller graph for this function:

◆ head()

searx.network.Request.head ( str url,
**t.Any kwargs )
static

Definition at line 153 of file __init__.py.

153 def head(url: str, **kwargs: t.Any):
154 return Request('HEAD', url, kwargs)
155

◆ options()

searx.network.Request.options ( str url,
**t.Any kwargs )
static

Definition at line 149 of file __init__.py.

149 def options(url: str, **kwargs: t.Any):
150 return Request('OPTIONS', url, kwargs)
151

◆ patch()

searx.network.Request.patch ( str url,
**t.Any kwargs )
static

Definition at line 165 of file __init__.py.

165 def patch(url: str, **kwargs: t.Any):
166 return Request('PATCH', url, kwargs)
167

◆ post()

searx.network.Request.post ( str url,
**t.Any kwargs )
static

Definition at line 157 of file __init__.py.

157 def post(url: str, **kwargs: t.Any):
158 return Request('POST', url, kwargs)
159

◆ put()

searx.network.Request.put ( str url,
**t.Any kwargs )
static

Definition at line 161 of file __init__.py.

161 def put(url: str, **kwargs: t.Any):
162 return Request('PUT', url, kwargs)
163

Member Data Documentation

◆ kwargs

dict searx.network.Request.kwargs = {}
static

Definition at line 142 of file __init__.py.


The documentation for this class was generated from the following file:
  • /home/andrew/Documents/code/public/searxng/searx/network/__init__.py