Create a boxed future for processing HTTP request events.
(
&self,
request: crate::Request,
)
| 573 | |
| 574 | /// Create a boxed future for processing HTTP request events. |
| 575 | fn make_request_process_future( |
| 576 | &self, |
| 577 | request: crate::Request, |
| 578 | ) -> BoxFuture<'static, Result<(), PluginError>> { |
| 579 | let clone = self.clone(); |
| 580 | Box::pin(async move { clone.process_request(request).await }) |
| 581 | } |
| 582 | |
| 583 | /// Process a single HTTP request, execute the plugin, and send the response. |
| 584 | async fn process_request(&self, request: crate::Request) -> Result<(), PluginError> { |
nothing calls this directly
no test coverage detected