{Details}
Hi i want to run a process after match inited and want to send ip and port of this node to the process to connect to this node after run
but i cant get ip and port of this node
how to do this?
- Versions: Nakama {3.5}, {Windows, Mac, Linux binary or Docker}, {client library (SDK) and version}
- Server Framework Runtime language (If relevant) {Go, TS/JS, Lua}
{code or log snippet}
host := runtime.RUNTIME_CTX_CLIENT_IP
port := runtime.RUNTIME_CTX_CLIENT_PORT
// Call the function to send HTTP request with metadata
if err := SendHTTPRequestToCreateMatch(ctx, logger, "Create", "Rumples", "matchId", host, port); err != nil {
// Handle error
logger.Error("Failed to send HTTP request:", err)
return "", err
}
<!-- If your code or log snippets are too long consider linking to a repo or gist -->
<!-- If relevant, add images or videos to describe your topic, don't attach images of code or logs use code snippets or share links to a repo or gist -->
:tv: **Media:**