Skip to main content

RawHandler

Trait RawHandler 

Source
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§

Source

fn handle(&self, req: &RawRequest) -> RawResponse

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§