This crate provides wasmCloud actors with an interface to the HTTP Server capability provider. Actors using this
interface must have the claim wasmcloud:httpserver
in order to have permission to handle requests, and they
must have an active, configured binding to an HTTP Server capability provider.
The HTTP Server provider is one-way, and only delivers messages to actors. Actors cannot make host calls to this provider.
The following is an example of how to use this provider:
```rust extern crate wasmcloudactorhttpserver as http; extern crate wasmcloudactor_core as actor;
extern crate serde_json;
pub fn init() { http::Handlers::registerhandlerequest(increment_counter); }
fn increment_counter(msg: http::Request) -> HandlerResulthttp::Response { Ok(http::Response::ok()) } ```