mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 22:55:48 +01:00
* Add support for origin tracking in raw message handling - Implemented origin and top origin tracking for web messages from JavaScript. - Updated `RawMessageHandler` to include `originInfo`. - Added cross-platform support for retrieving the origin of messages in macOS, Windows, and Linux. * fix build * fix build * fix build * fix build * fix build * Fix nil checks and string handling for message origins across platforms - Ensure proper fallback to empty strings for `origin` and `topOrigin` when errors or nil values are encountered. - Normalize handling of `message.body` to account for non-NSString values in macOS. * add docs * Remove unused doc * update changelog * fix build --------- Co-authored-by: Lea Anthony <lea.anthony@gmail.com> |
||
|---|---|---|
| .. | ||
| assets | ||
| main.go | ||
| README.md | ||
Raw Message Example
This example is a demonstration of sending raw messages from JS to Go.
Running the example
To run the example, simply run the following command:
go run main.go