pub trait RawHandler:
Send
+ Sync
+ 'static {
// Required method
fn handle(&self, req: &RawRequest) -> RawResponse;
}Expand description
A raw-HTTP embedder surface (the agentd webhook listener). One call per request; the embedder routes and authenticates itself.
Required Methods§
fn handle(&self, req: &RawRequest) -> RawResponse
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".