4/3/2024 0 Comments Actix web impl responderHere is what I have so far // main. web: This module provides essential types for route registration as well as common utilities for request handlers. HttpServer: This struct represents an HTTP server instance and is used to instantiate and configure servers. Whatever I try I can't get it to compile or when I get it to compile I get the following error when visiting the route in the web browser:Īpp data is not configured, to configure use App::data() App: This struct represents an Actix web application and is used to configure routes and other common application settings. I want to create a actix-web server where I can provide my Search trait as application data in order to easily swap between multiple implementations or use mock implementation for testing.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |