.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 135 of file __init__.py.

Member Function Documentation

◆ delete()

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

Definition at line 167 of file __init__.py.

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

◆ get()

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

Definition at line 143 of file __init__.py.

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

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 151 of file __init__.py.

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

◆ options()

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

Definition at line 147 of file __init__.py.

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

◆ patch()

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

Definition at line 163 of file __init__.py.

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

◆ post()

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

Definition at line 155 of file __init__.py.

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

◆ put()

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

Definition at line 159 of file __init__.py.

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

Member Data Documentation

◆ kwargs

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

Definition at line 140 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