Enfusion Script API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
RestContext Interface Reference

Script accessible REST context. More...

Public Member Functions

proto external int GET (RestCallback cb, string request)
 
proto external string GET_now (string request)
 
proto external int FILE (RestCallback cb, string request, string filename)
 
proto external int FILE_now (string request, string filename)
 
proto external int POST (RestCallback cb, string request, string data)
 
proto external string POST_now (string request, string data)
 
proto external int PUT (RestCallback cb, string request, string data)
 
proto external string PUT_now (string request, string data)
 
proto external int DELETE (RestCallback cb, string request, string data)
 
proto external string DELETE_now (string request, string data)
 
proto external bool SetHeaders (string definition)
 
proto external void reset ()
 

Detailed Description

Script accessible REST context.

Member Function Documentation

◆ DELETE()

proto external int RestContext.DELETE ( RestCallback  cb,
string  request,
string  data 
)

◆ DELETE_now()

proto external string RestContext.DELETE_now ( string  request,
string  data 
)

◆ FILE()

proto external int RestContext.FILE ( RestCallback  cb,
string  request,
string  filename 
)

◆ FILE_now()

proto external int RestContext.FILE_now ( string  request,
string  filename 
)

◆ GET()

proto external int RestContext.GET ( RestCallback  cb,
string  request 
)

◆ GET_now()

proto external string RestContext.GET_now ( string  request)

◆ POST()

proto external int RestContext.POST ( RestCallback  cb,
string  request,
string  data 
)

◆ POST_now()

proto external string RestContext.POST_now ( string  request,
string  data 
)

◆ PUT()

proto external int RestContext.PUT ( RestCallback  cb,
string  request,
string  data 
)

◆ PUT_now()

proto external string RestContext.PUT_now ( string  request,
string  data 
)

◆ reset()

proto external void RestContext.reset ( )

◆ SetHeaders()

proto external bool RestContext.SetHeaders ( string  definition)

The documentation for this interface was generated from the following file: