Struct wasmcloud_interface_httpserver::HttpServerSender [−][src]
pub struct HttpServerSender<T: Transport> { /* fields omitted */ }
Expand description
HttpServerSender sends messages to a HttpServer service HttpServer is the contract to be implemented by actor client for sending HttpServer messages
Implementations
Constructs a Sender using an actor’s LinkDefinition, Uses the provider’s HostBridge for rpc
Trait Implementations
fn handle_request<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
arg: &'life2 HttpRequest
) -> Pin<Box<dyn Future<Output = RpcResult<HttpResponse>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
returns the capability contract id for this interface