Meta-issue of release TODO's
insyri opened this issue · comments
insyri commented
Main
- #21
Reconnecting WebSockets inTpyWs
work in Deno, but not in Node.js. Whether this issue is related to runtime differences or subtle changes in core implementation, there is a better way to implement the reconnecting WebSocket. (Idea: Asynchronous generator function to await and loop over closing events.) - #20
Some endpoints have different implications to each kind of HTTP response code, for example, not all500
s are internal server errors, they could be authentication mismatching in specific context. (Idea: add parameter that specifies an array of cases and functions.)Array<{ // Determines if case is applicable; number for HTTP status code, or // a function that takes the response object and returns the validity. case: number | (r: Response) => boolean, // Function to run if `case` matches the response's HTTP status code // or is true. fn: () => void, }>
Subsequent
insyri commented
v1.0.0 RC!