5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 23:20:51 +08:00
wails/v2
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
..
cmd/wails Improved TS Generation (#1310) 2022-04-04 21:01:00 +10:00
internal [v2] Add support for AssetsHandler (#1325) 2022-04-12 20:18:27 +10:00
pkg [v2] Add support for AssetsHandler (#1325) 2022-04-12 20:18:27 +10:00
go.mod Update go.mod 2022-04-10 09:41:44 +10:00
go.sum Update go.mod 2022-04-10 09:41:44 +10:00
init_windows.go [windows] Lint fixes 2021-06-21 09:58:10 +10:00
init.go chore: run go fmt ./... and go mod tidy 2021-11-25 12:14:27 +08:00
NOTES.md Merge commit 'a213e8bcd1d8e4e5c764978879d875d2d55dd400' as 'v2' 2020-09-15 19:52:54 -05:00
README.md [v2] Update Workflow 2021-09-13 20:04:08 +10:00
wails.go [windows-x] Experimental -> Default 2021-08-15 21:07:34 +10:00

Wails v2 ALPHA

This branch contains WORK IN PROGRESS! There are no guarantees. Use at your peril!

This document will be updated as progress is made.