Replies: 4 comments 6 replies
-
i've been trying for days with chatgpt4 and sonnet and i cant get it to work. they are stuck at hyper 0.14 etc. can u pls show how to do h2/tls reverse proxy? i have no idea why it is not working. @seanmonstar i can buy you coffees for this. pls tell me where to do so. pls give a working example (with rustls if possible) thx!
|
Beta Was this translation helpful? Give feedback.
-
You can check the docs of hyper-rustls for this. |
Beta Was this translation helpful? Give feedback.
-
@dswij i'm new to rust. possible to provide how it works in code? it is that difficult? i'm coming from golang background and it's actually very easy to do with example. really easy. how to get this done in code? chatgpt4 and sonnet cant help |
Beta Was this translation helpful? Give feedback.
-
Hyper is a low-level library and is not suitable for beginners. You can start with some more advanced web frameworks developed based on hyper. For example, axum, actix-web, salvo, etc. For example, this is a very simple reverse proxy example of salvo: |
Beta Was this translation helpful? Give feedback.
-
curl -v -k https://127.0.0.1:3000/
curl: (35) OpenSSL/3.0.13: error:0A00010B:SSL routines::wrong version number
/src/main.rs
Cargo.toml
Beta Was this translation helpful? Give feedback.
All reactions