Version: 3.3.0
wxWebViewFSHandler Class Reference

#include <wx/webviewfshandler.h>

+ Inheritance diagram for wxWebViewFSHandler:

Detailed Description

A wxWebView file system handler to support standard wxFileSystem protocols of the form example:page.htm The handler allows wxWebView to use wxFileSystem in a similar fashion to its use with wxHtml.

The wxMemoryFSHandler documentation gives an example of how it may be used.

Since
2.9.5

Library:  wxWebView
Category:  WebView
See also
wxWebView, wxWebViewHandler, wxWebViewArchiveHandler

Public Member Functions

 wxWebViewFSHandler (const wxString &scheme)
 Constructor. More...
 
virtual wxFSFileGetFile (const wxString &uri)
 
- Public Member Functions inherited from wxWebViewHandler
 wxWebViewHandler (const wxString &scheme)
 Constructor. More...
 
virtual wxString GetName () const
 
virtual void SetSecurityURL (const wxString &url)
 Sets a custom security URL. More...
 
virtual wxString GetSecurityURL () const
 
virtual void SetVirtualHost (const wxString &host)
 When using the edge backend handler urls are https urls with a virtual host. More...
 
virtual wxString GetVirtualHost () const
 
virtual void StartRequest (const wxWebViewHandlerRequest &request, wxSharedPtr< wxWebViewHandlerResponse > response)
 Implementing this method allows for more control over requests from the backend then GetFile(). More...
 

Constructor & Destructor Documentation

◆ wxWebViewFSHandler()

wxWebViewFSHandler::wxWebViewFSHandler ( const wxString scheme)

Constructor.

Member Function Documentation

◆ GetFile()

virtual wxFSFile* wxWebViewFSHandler::GetFile ( const wxString uri)
virtual
Returns
A pointer to the file represented by uri.

Reimplemented from wxWebViewHandler.