Chihwei
CDCloudflare Developers
•Created by Chihwei on 6/18/2024 in #workers-help
worker-rs: http hello world
@Jeroen
This is work I got, but I can't guarantee it's the most ideal way
8 replies
CDCloudflare Developers
•Created by Chihwei on 6/18/2024 in #workers-help
worker-rs: http hello world
Thanks! Most of those examples are not with
http
feature flag turned on, which they are using older Response defined in worker-rs
, rather than more widely used rust http
crate. I later found I could change the wrapped type of Result
to assign it a string, like Result<String>
. I am a beginner of Rust, so let me know if I was wrong on anything.8 replies