5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 07:41:37 +08:00
wails/v2/internal/frontend/desktop/darwin
stffabi 6d09a45a30
[v2] Add support for AssetsHandler (#1325)
* [website] Fix devserver default value doc

* [v2] Add support for AssetsHandler

AssetsHandler is a http.Handler delegate, which gets called
as a fallback for all Non-GET requests and for GET requests
for which the Assets didn’t find the file.

Known Limitations on Linux:
- All requests are GET requests
- No request headers
- No request body
- No response status code, only StatusOK will be returned
- No response headers

Known Limitations on Windows:
-  Request body is leaking memory. Seems to be a bug in
    WebView2, investigation angoing.

Most of these limitations on Linux will be fixed in the future with
adding support for Webkit2Gtk 2.36.0+.

* [v2, linux] Add response streaming support

The complete response won’t be held anymore in memory and will
be streamed to WebKit2.

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-04-12 20:18:27 +10:00
..
AppDelegate.h [mac] Fix fullscreen / start fullscreen 2021-11-23 20:06:56 +11:00
AppDelegate.m [mac] Fix fullscreen / start fullscreen 2021-11-23 20:06:56 +11:00
Application.h [v2] Add support for AssetsHandler (#1325) 2022-04-12 20:18:27 +10:00
Application.m [v2] Add support for AssetsHandler (#1325) 2022-04-12 20:18:27 +10:00
browser.go [mac] Fix build tags 2021-10-13 21:16:07 +11:00
callbacks.go [mac] menu support 2021-10-30 09:51:46 +11:00
calloc.go [mac] dialog support 2021-10-22 08:42:36 +11:00
dialog.go [v2] Remove AllowFiles & AllowDirectories 2021-12-09 08:16:45 +11:00
frontend.go [v2] Add support for AssetsHandler (#1325) 2022-04-12 20:18:27 +10:00
main.m [v2] Add support for AssetsHandler (#1325) 2022-04-12 20:18:27 +10:00
menu.go [mac] Support MenuUpdateApplicationMenu 2021-10-31 15:09:50 +11:00
menuitem.go [mac] menu support 2021-10-30 09:51:46 +11:00
message.h [v2] Add support for AssetsHandler (#1325) 2022-04-12 20:18:27 +10:00
Role.h [mac] menu support 2021-10-30 09:51:46 +11:00
WailsAlert.h [mac] Improve string/memory handling, dialog icon -> []byte 2021-10-31 08:50:14 +11:00
WailsAlert.m [mac] Improve string/memory handling, dialog icon -> []byte 2021-10-31 08:50:14 +11:00
WailsContext.h [v2] Add support for AssetsHandler (#1325) 2022-04-12 20:18:27 +10:00
WailsContext.m [v2] Add support for AssetsHandler (#1325) 2022-04-12 20:18:27 +10:00
WailsMenu.h [mac] Improve string/memory handling, dialog icon -> []byte 2021-10-31 08:50:14 +11:00
WailsMenu.m [mac] Fix for submenu titles. Fixes #1026. 2021-12-24 08:00:37 +11:00
WailsMenuItem.h [mac] menu support 2021-10-30 09:51:46 +11:00
WailsMenuItem.m [mac] menu support 2021-10-30 09:51:46 +11:00
window.go [v2] Add support for external frontend dev servers (#1290) 2022-03-31 00:40:44 +11:00
WindowDelegate.h [mac] Fix fullscreen / start fullscreen 2021-11-23 20:06:56 +11:00
WindowDelegate.m window delegate modify for onBeforeClose hook 2021-12-04 07:52:34 +09:00