.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 (url, **kwargs)
 
 options (url, **kwargs)
 
 head (url, **kwargs)
 
 post (url, **kwargs)
 
 put (url, **kwargs)
 
 patch (url, **kwargs)
 
 delete (url, **kwargs)
 

Static Public Attributes

str method
 
str url
 
dict kwargs = {}
 

Detailed Description

Request description for the multi_requests function

Definition at line 126 of file __init__.py.

Member Function Documentation

◆ delete()

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

Definition at line 158 of file __init__.py.

158 def delete(url, **kwargs):
159 return Request('DELETE', url, kwargs)
160
161

◆ get()

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

Definition at line 134 of file __init__.py.

134 def get(url, **kwargs):
135 return Request('GET', url, kwargs)
136

Referenced by searx.botdetection.config.Config.__getitem__(), searx.botdetection.config.Config.path(), and searx.botdetection.config.Config.pyobj().

+ Here is the caller graph for this function:

◆ head()

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

Definition at line 142 of file __init__.py.

142 def head(url, **kwargs):
143 return Request('HEAD', url, kwargs)
144

◆ options()

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

Definition at line 138 of file __init__.py.

138 def options(url, **kwargs):
139 return Request('OPTIONS', url, kwargs)
140

◆ patch()

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

Definition at line 154 of file __init__.py.

154 def patch(url, **kwargs):
155 return Request('PATCH', url, kwargs)
156

◆ post()

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

Definition at line 146 of file __init__.py.

146 def post(url, **kwargs):
147 return Request('POST', url, kwargs)
148

◆ put()

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

Definition at line 150 of file __init__.py.

150 def put(url, **kwargs):
151 return Request('PUT', url, kwargs)
152

Member Data Documentation

◆ kwargs

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

Definition at line 131 of file __init__.py.

◆ method

str searx.network.Request.method
static

Definition at line 129 of file __init__.py.

◆ url

str searx.network.Request.url
static

Definition at line 130 of file __init__.py.


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