5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-20 19:09:29 +08:00
wails/v2/internal/appng
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
..
app_bindings.go Improved TS Generation (#1310) 2022-04-04 21:01:00 +10:00
app_darwin.go [linux] Better Go 1.16 support 2022-01-31 21:21:48 +11:00
app_debug.go Support -debug for wails build 2022-01-17 21:14:07 +11:00
app_default_darwin.go [linux] Better Go 1.16 support 2022-01-31 21:21:48 +11:00
app_default_linux.go [linux] Better Go 1.16 support 2022-01-31 21:21:48 +11:00
app_default_windows.go Fix up dev. Pull in go-webview and winc 2022-03-29 21:45:16 +11:00
app_dev.go [v2] Add support for AssetsHandler (#1325) 2022-04-12 20:18:27 +10:00
app_linux.go [linux] Better Go 1.16 support 2022-01-31 21:21:48 +11:00
app_not_debug.go Support -debug for wails build 2022-01-17 21:14:07 +11:00
app_production.go Fixes #1206. ERROR level used in Production 2022-03-04 17:46:04 +11:00
app_windows.go Translations + Tidy Up 2022-04-03 17:18:36 +10:00