Navigation
API > API/Runtime > API/Runtime/WebBrowser > API/Runtime/WebBrowser/SWebBrowserView
Description
Gets the source of the main frame as raw HTML.
This method has to be called asynchronously by passing a callback function, which will be called at a later point when the result is ready.
| Name | GetSource |
| Type | function |
| Header File | /Engine/Source/Runtime/WebBrowser/Public/SWebBrowserView.h |
| Include Path | #include "SWebBrowserView.h" |
| Source | /Engine/Source/Runtime/WebBrowser/Private/SWebBrowserView.cpp |
void GetSource
(
TFunction < void> Callback
) const
Parameters
| Name | Remarks |
|---|---|
| Callback | A callable that takes a single string reference for handling the result. |