wx.html2.WebViewHandlerRequest¶
A class giving access to various parameters of a webview request.
Added in version 4.3/wxWidgets-3.3.0.
See also
wx.html2.WebViewHandler.StartRequest
Class Hierarchy¶
Methods Summary¶
Returns a header from the request or an empty string if the header could not be found. |
|
Properties Summary¶
See |
|
See |
|
See |
|
See |
Class API¶
- class wx.html2.WebViewHandlerRequest(object)¶
A class giving access to various parameters of a webview request.
Methods¶
- GetData(self)¶
- Return type:
InputStream
- Returns:
The body data of the request of
nullif nothing was posted.
- GetHeader(self, name)¶
Returns a header from the request or an empty string if the header could not be found.
- Parameters:
name (string) – Name of the header field
- Return type:
str
- GetMethod(self)¶
- Return type:
str
- Returns:
The requests
HTTPmethod (e.g.POST,GET,OPTIONS).
- GetRawURI(self)¶
- Return type:
str
- Returns:
The unmodified url of the request.
- GetURI(self)¶
- Return type:
str
- Returns:
The url of the request. Can be modified by the backend for compatibility.
Properties¶