Open the-dream-machine opened 2 weeks ago
How do I use this library with remix? Remix provides web standard objects rather than the native Node.js req and res objects. I can't figure out how to extract compatible Node.js http objects from this:
req
res
// api.stream.ts export const loader = async ({ request, response }: LoaderFunctionArgs) => { const session = await createSession(request, response) return session.push('hello world') }
How do I use this library with remix? Remix provides web standard objects rather than the native Node.js
req
andres
objects. I can't figure out how to extract compatible Node.js http objects from this: