Base support for wasm service using Confluence Workers
Context manages the information flow for an incoming HTTP [
Generic page error return - doesn't require ctx
Incoming HTTP request (to Worker).
Worker response for HTTP requests.
The Response is created/accessed from
Logging support for deferred tasks
Configuration parameters for service Parameter E is your crate's error type
Errors generated by this crate It's not necessary for users of wasm_service to import this, because Error implements trait std::error::Error.
Trait that defines app/service's request handler and router See rustwasm-service-template for a more complete example
Runnable trait for deferred tasks Deferred tasks are often useful for logging and analytics.
Generate handler return "error"