| Age | Commit message (Collapse) | Author |
|
In this changes we introduce eslint as our linter for TypeScript and
update our tsconfig to be more strict.
The ".eslintrc.yaml" and "tsconfig.json" is taken from golang/website
repository [1].
[1]: https://cs.opensource.google/go/x/website
|
|
I cannot remember how I reformat those files previously, probably without
any tools.
This changes reformat the TypeScript files using prettier and HTML files
using js-beautify.
|
|
This remove the insecure option since in the browser, the WebSocket
client does not have an option to ignore invalid certificate (the user
must accept the invalid certificate by them self).
|
|
See https://kilabit.info/journal/2022/gpl/ for more information.
|
|
A response is defined as broadcast from server when the ID is 0.
|
|
The WebSocket client have only one method "Send" that send request
to the server based on predefined format WuiWebSocketRequest in
synchronous way, which means it will wait for the response and pass it
back to the caller based on the request ID.
|