Including Credentials in Requests with Custom Client Using `@effect/platform/HttpClient`

I am wondering how I can include credentials for requests I'm making with the custom client I have build using the @effect/platform/HttpClient package. Right now I'm building a BaseApiClient like this:
const BaseApiClient = Effect.gen(function* (_) {
  const client = yield* _(Http.client.Client);

  return client.pipe(
    Http.client.mapRequest(
      Http.request.prependUrl(...),
    ),
    //...
  );
});

Normally I would do something like this:
fetch(...,
    {
        method: 'GET',
        credentials: 'include',
    },
);

Is there some Http.request property I'm not seeing?
Was this page helpful?