phoenix_title wx.html2.WebViewHandlerRequest

A class giving access to various parameters of a webview request.

wx.html2.WebView

Added in version 4.3/wxWidgets-3.3.0.

See also

wx.html2.WebViewHandler.StartRequest


class_hierarchy Class Hierarchy

Inheritance diagram for class WebViewHandlerRequest:

method_summary Methods Summary

GetData

GetHeader

Returns a header from the request or an empty string if the header could not be found.

GetMethod

GetRawURI

GetURI


property_summary Properties Summary

Data

See GetData

Method

See GetMethod

RawURI

See GetRawURI

URI

See GetURI


api 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 null if 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 HTTP method (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

Data

See GetData



Method

See GetMethod



RawURI

See GetRawURI



URI

See GetURI