Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meta-issue of release TODO's #15

Closed
12 tasks done
insyri opened this issue Nov 13, 2022 · 1 comment
Closed
12 tasks done

Meta-issue of release TODO's #15

insyri opened this issue Nov 13, 2022 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@insyri
Copy link
Owner

insyri commented Nov 13, 2022

Main

  • Reconnecting WebSocket on Node.js #21
    Reconnecting WebSockets in TpyWs 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.)
  • Custom error handlers in httpRaw() #20
    Some endpoints have different implications to each kind of HTTP response code, for example, not all 500s 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 insyri added the help wanted Extra attention is needed label Nov 13, 2022
@insyri
Copy link
Owner Author

insyri commented Jan 28, 2023

v1.0.0 RC!

@insyri insyri closed this as completed Jan 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant