api/internal/gamification/game_skin_http
library
Classes
-
GameHttpBridge
-
The generic pass-through behind bridge
http requests: {method, path, body?} goes to {baseUrl}/api/v1/engage/sdk/gamification/{path} with the
SDK's usual auth/identity headers (they ride NetworkClient.execute
automatically). New backend endpoints reach skins with no SDK update;
grantChance stays denied so a skin cannot grant itself chances.
-
GameHttpError
-
-
GameHttpOutcome
-
One
http answer: either the backend's {status, body} or a bridge error.
-
GameHttpResponse
-
Functions
-
failureCodeOf(Object error)
→ String
-
Maps a transport failure to
timeout or network. Shared by the skin
http bridge and the rewards fetch.