Hey all, I am exploring service bindings right now, and the docs state one advantage of service bind
Hey all, I am exploring service bindings right now, and the docs state one advantage of service bindings is:
https://developers.cloudflare.com/workers/runtime-apis/bindings/service-bindings/
However, I can't find any instructions on how to achieve this - my assumption being that this is only true if you use the RPC interface, rather than the HTTP interface. Is that true? and if that is the case, I guess it is less clear to me what the advantage of setting up a service binding for a http interfaced worker. Thanks in advance for the help!
Isolate services from the public Internet. You can deploy a Worker that is not reachable via the public Internet, and can only be reached via an explicit Service binding that another Worker declares.
https://developers.cloudflare.com/workers/runtime-apis/bindings/service-bindings/
However, I can't find any instructions on how to achieve this - my assumption being that this is only true if you use the RPC interface, rather than the HTTP interface. Is that true? and if that is the case, I guess it is less clear to me what the advantage of setting up a service binding for a http interfaced worker. Thanks in advance for the help!
Cloudflare Docs
Facilitate Worker-to-Worker communication.
