mirror of
https://github.com/ntex-rs/ntex.git
synced 2025-04-06 14:27:39 +03:00
Payload extractor
This commit is contained in:
parent
d77954d19e
commit
b211966c28
4 changed files with 107 additions and 52 deletions
|
@ -1,6 +1,8 @@
|
|||
use futures::IntoFuture;
|
||||
|
||||
use actix_web::macros::get;
|
||||
#[macro_use]
|
||||
extern crate actix_web;
|
||||
|
||||
use actix_web::{middleware, web, App, Error, HttpRequest, HttpResponse, HttpServer};
|
||||
|
||||
#[get("/resource1/{name}/index.html")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue