pub trait PackageCall: KvarnSendSync {
// Required method
fn call<'a>(
&'a self,
response: &'a mut Response<()>,
request: &'a FatRequest,
host: &'a Host,
addr: SocketAddr,
) -> RetFut<'a, ()>;
}
Expand description
Implement this to pass your extension to Extensions::add_package
.