Type Alias holochain_websocket::Response
source · pub type Response = Box<dyn FnOnce(SerializedBytes) -> MustBoxFuture<'static, WebsocketResult<()>> + Send + Sync + 'static>;
Expand description
Closure for responding to a Respond::Request
Aliased Type§
struct Response(/* private fields */);