Cloudflare 中文文档
Workers
Workers
编辑这个页面
跳转官方原文档
Set theme to dark (⇧+D)

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: