- Versions: Nakama 3.13.1, Docker
- Server Framework Runtime language TS/JS
Hello, I was wondering if it was at all possible to call a “server-to-server” RPC from within the server itself. In this case, as soon as the match is over, I want to make a call to some shared functionality that’s currently registered via an RPC, however I’m having a really difficult time finding a way to access said RPC. I’ve looked around the nk: nkruntime.Nakama
, ctx: nkruntime.Context
, and dispatcher: nkruntime.MatchDispatcher
, but there seems to be no way to directly call the RPC.
I suppose something like a fetch
call to 127.0.0.1:7350/v2/rpc
, could be used, but it’ll require some authentication and such. Feels like really bad way to do it from the server itself.
I’ve been pulling my hair out over this, it feels like I’m missing something obvious. Any help or pointing in the correct direction would be really appreciated.