pub fn resource<R>() -> Resourcewhere
R: Resolver + 'static,Expand description
A simple way to mount the webfinger service to your Actix Web application
ⓘ
use actix_web::HttpServer;
HttpServer::new(|| {
App::new()
.service(actix_webfinger::resource::<MyResolver>())
})
.bind("127.0.0.1:8000")?
.start();