Service bindings — HTTP
Worker A that declares a Service binding to Worker B can forward a Request object to Worker B, by calling the fetch() method that is exposed on the binding object.
For example, consider the following Worker that implements a fetch() handler:
The following Worker declares a binding to the Worker above:
And then can forward a request to it: