MCPcopy Create free account
hub / github.com/influxdata/influxdb / make_request_process_future

Method make_request_process_future

influxdb3_processing_engine/src/plugins.rs:575–581  ·  view source on GitHub ↗

Create a boxed future for processing HTTP request events.

(
        &self,
        request: crate::Request,
    )

Source from the content-addressed store, hash-verified

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> {

Callers

nothing calls this directly

Calls 2

process_requestMethod · 0.80
cloneMethod · 0.45

Tested by

no test coverage detected