aboutsummaryrefslogtreecommitdiff
path: root/websocket_client.d.ts
AgeCommit message (Collapse)Author
2023-10-24all: fix all linter warnings from tsc and eslintShulhan
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
2022-04-20all: accept the address options as isShulhan
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).
2021-09-27all: implement WebSocket clientShulhan
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.