We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
web::Data
The mutable app state example at https://ntex.rs/docs/application#shared-mutable-state mentions web::Data.
Maybe web::types::State is meant?
web::types::State
Since what is being created is a plain struct, this could be reworded to // Note: App state created _outside_ HttpServer::new closure.
// Note: App state created _outside_ HttpServer::new closure
Please let me know if I misunderstood. If not, then I'll be happy to PR the fix.
The text was updated successfully, but these errors were encountered:
Hey @LeoniePhiline, sorry for the late reply, i didn't get notified. You're right web::types::State is meant! You can open a pull request if you want!
Sorry, something went wrong.
fix: example mentions web::Data but refers to plain state struct
d6ec469
Closes ntex-rs#10
fix: example mentions web::Data but refers to plain state struct (#11)
6c93ccb
Closes #10
Successfully merging a pull request may close this issue.
The mutable app state example at https://ntex.rs/docs/application#shared-mutable-state mentions
web::Data
.Maybe
web::types::State
is meant?Since what is being created is a plain struct, this could be reworded to
// Note: App state created _outside_ HttpServer::new closure
.Please let me know if I misunderstood. If not, then I'll be happy to PR the fix.
The text was updated successfully, but these errors were encountered: