Keep a track of client's IP address
Now that the portal was up and ready, Batman realised that the Joker was using the Gotham Police Dashboard too. So, he wanted to keep a track of the IP address of the client who was accessing his application. He used the following code to do so:
Batman scaled his application across multiple cores for better performance. He used the following command:
Request
GET
/hello_worldfrom robyn import Robyn
app = Robyn(__file__)
@app.get("/")
async def h(request):
return f"hello to you, {request.ip_addr}"
GraphQL Integration
TODO!
What's next?
That's all folks. Stay tuned for more updates and share the feedback!