Navigation
API > API/Runtime > API/Runtime/WebBrowser > API/Runtime/WebBrowser/SWebBrowser
References
| Module | WebBrowser |
| Header | /Engine/Source/Runtime/WebBrowser/Public/SWebBrowser.h |
| Include | #include "SWebBrowser.h" |
| Source | /Engine/Source/Runtime/WebBrowser/Private/SWebBrowser.cpp |
void GetSource
&40;
TFunction< void(const FString &)> Callback
&41; const
Remarks
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.
Parameters
| Name | Description |
|---|---|
| Callback | A callable that takes a single string reference for handling the result. |