Class: Wx::WEB::WebViewHandlerRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/wx/doc/gen/web/web_view_handler.rb

Overview

Note:

This class is untracked and should not be derived from nor instances extended!

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

Category: WebView

See Also:

Requires:

  • USE_WEBVIEW

Instance Method Summary collapse

Instance Method Details

#get_dataWx::InputStream Also known as: data

The body data of the request of null if nothing was posted.

Returns:



213
# File 'lib/wx/doc/gen/web/web_view_handler.rb', line 213

def get_data; end

#get_data_string(conv = wxConvUTF8) ⇒ String Also known as: data_string

The body data of the request as a string. The returned string is empty if the supplied conv doesn't match the encoding.

Parameters:

Returns:

  • (String)


221
# File 'lib/wx/doc/gen/web/web_view_handler.rb', line 221

def get_data_string(conv=wxConvUTF8) end

#get_header(name) ⇒ String Also known as: header

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

Returns:

  • (String)


234
# File 'lib/wx/doc/gen/web/web_view_handler.rb', line 234

def get_header(name) end

#get_methodString Also known as: method

The requests HTTP method (e.g. POST, GET, OPTIONS).

Returns:

  • (String)


228
# File 'lib/wx/doc/gen/web/web_view_handler.rb', line 228

def get_method; end

#get_raw_uriString Also known as: raw_uri

The unmodified url of the request.

Returns:

  • (String)


199
# File 'lib/wx/doc/gen/web/web_view_handler.rb', line 199

def get_raw_uri; end

#get_uriString Also known as: uri

The url of the request. Can be modified by the backend for compatibility.

Returns:

  • (String)


206
# File 'lib/wx/doc/gen/web/web_view_handler.rb', line 206

def get_uri; end