Skip to content
New issue

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

Add base actix-web integration #18

Open
singulared opened this issue Jun 1, 2021 · 0 comments
Open

Add base actix-web integration #18

singulared opened this issue Jun 1, 2021 · 0 comments
Assignees
Labels
actix-web integration to actix-web enhancement New feature or request

Comments

@singulared
Copy link
Member

For integration with actix-web we need to implement trait Cacheable for HttpRequest and add some service\route declaration helper functions.
Something like this:

HttpServer::new(|| {
    App::new()
        .service(web::resource("/something")
            .route(web:get().to(get_something))
            .cache(ttl=60))
})
@singulared singulared added the enhancement New feature or request label Jun 1, 2021
@singulared singulared added this to the 0.2.0 milestone Jun 1, 2021
@singulared singulared added the actix-web integration to actix-web label Jul 5, 2023
@singulared singulared removed this from the 0.2.0 milestone Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
actix-web integration to actix-web enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants