this post was submitted on 26 Oct 2024
1 points (100.0% liked)

The Rust Programming Language

39 readers
1 users here now

A place for all things related to the Rust programming language—an open-source systems language that emphasizes performance, reliability, and...

founded 1 year ago
MODERATORS
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/rust by /u/c410-f3r on 2024-10-24 23:08:11+00:00.


wtx allows, among other things, the development of web applications through a built-in HTTP/2 server framework, a built-in PostgreSQL connector and a built-in SQL schema manager.

The title purposely leans towards a click bait because I already provided several benchmarks¹²³ and no-one stated otherwise. If these claims are not true, please let me know, I really want to further improve the project.

The RFC8441 protocol that defines the handshake procedure has been implemented. While HTTP/2 inherently supports full-duplex communication, web browsers typically don't expose this functionality directly to developers and that is why WebSocket tunneling over HTTP/2 is important.

  1. Servers can efficiently handle multiple concurrent streams within a single TCP connection
  2. Client applications can continue using existing WebSocket APIs without modification

As far as I can tell, wtx and deno are the only Rust projects that support this feature.

Take a look at to see a code example. If you have questions, feel free to ask.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here