Effect CommunityEC
Effect Community13mo ago
6 replies
ciokan

How to access the request in an rpc handler?

Given thi shandler (inside NextJs), how do I access the original request object so I can grab the ip address and other stuff?

export const Handler = Rpc.effect(
    Request, (params) => Effect.gen(function* () {
        ...
    })
);
Was this page helpful?