python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
actix-web: Add data to request in middleware
I am learning actix-web, I parsed jwt in middleware, I want to pass the data in jwt to the controller that parses to handle this request, but I don't know how to do it
my middleware:
use actix_web::{e...
januw a
Votes: 0
Answers: 1
actix_web invalid header provided
I am getting this error running an actix-web based server
ERROR actix_http::h1::dispatcher] stream error: Request parse error: Invalid Header provided
The handler code is this:
#[derive(Serialize, De...
ferd tomale
Votes: 0
Answers: 1
rust: draw an image
I'm using actix-web to develop a function where the user can upload some data and then draw the data on a picture to generate a simple poster.
Here is some of my code:
#[derive(Debug, Deserialize)]
pu...
januw a
Votes: 0
Answers: 2