Janpot/next-rpc

How to access request object?

Closed this issue · 1 comments

I would like to have a function that saves statistics for the visitor. And I need to create a unique identifier since I don't want to save any private data.

I want to get the IP of the request and HTTP header (most likely userAgent). Is there a way to have the best of both words?

Sorry, it seems the info is in the readme.