Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
tokumei21316yThat's quite a jump, especially for a language like that. I'm almost a year in and I still dont know exactly how lifetimes work in some situations. Best of luck, my dude.
-
leanrob36646y@beegC0de Sure am. And having a hell of a time dealing with getting request body from a POST.
This really shouldn’t be this friggin hard.
Any pointers? -
@leanrob https://actix.rs/api/actix-web/... start here then go read https://actix.rs/api/actix-web/... you need to `use actix_web::HttpMessage;`. In the closure you use in the`f` method, call `body` method on the HttpRequest it takes as a parameter. There's also a 'json' method if the body is formatted as such.
Related Rants
-
CodeBlooded9Me: Sometimes I talk to myself while debugging. Me: OMG 😱, me too.. Me: Lets try pair programming next ti...
-
bittersweet14"Let's do some pair programming! It will be fun!" ... Fuck no. Either I start coding and you open a beer, or...
-
trogus22New devRant cartoon now live on YouYube! Experience the perils of pair programming! https://youtu.be/vjr_9xKUl...
First day developing in Rust. First day developing using the actor model in Actix. First line in a new production codebase.
Oh my
rant
actix
rust
pair programming
actor model