Creating a Wrapper for External Service Endpoints with `HttpRouter` in `@effect/platform`
Using
I'm trying to add an endpoint for an external service which expose via an SDK function with the following signature:
HttpRouter from @effect/platform, is it possible to create a wrapper around a library the returns a globalThis.Response?I'm trying to add an endpoint for an external service which expose via an SDK function with the following signature:
(request: Request) => Promise<Awaited<Response>> but without luck