Updating RPC Client Code with Current API

Hi. I'm new to Effect and I'm trying out the RPC. Following the documentation: https://github.com/Effect-TS/effect/tree/main/packages/rpc#using-your-new-backend-on-the-client

I see that HttpClient.fetchOk is an API that is legacy. How do I write this file with the current API? I'm using @effect/platfform version 0.75.1.
Was this page helpful?