User Tools

Site Tools


scripting:restcontext

RestContext

Class: RestContext

Parent Class: (?none?)

Location: scripts/GameLib/generated/online/RestContext.c

Description: RestContext class.

Common usage

The restAPI allows interaction with external webresources in JSON format.

Typical usage : statistics/leaderboards/persistent world.

Functions

GET();

GET(RestCallback cb, string request);

Return type: int

GET_now();

GET_now( string request);

Return type: string

FILE();

FILE(RestCallback cb, string request, string filename);

Return type: int

FILE_now();

FILE_now( string request,string filename);

Return type: string

POST();

POST(RestCallback cb, string request,string data);

Return type: int

POST_now();

POST_now( string request,string data);

Return type: string

reset();

reset(); 

Return type: void

scripting/restcontext.txt · Last modified: 2022/08/25 15:03 by jerryhopper

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki