e2 docs http - wiremod/wire GitHub Wiki
Http
httpRequest( Url)
 Url)
Starts a new request (20 ops)
 = httpCanRequest()
 = httpCanRequest()
Returns whether you can make a new request (delay has been met or previous request timed out) (5 ops)
 = httpClk()
 = httpClk()
DEPRECATED. Use 'event httpLoaded(Body:string, Size:number, Url:string)' and 'event httpErrored(Error:string, Url:string)' instead! Returns whether the execution was run because of a completed request (5 ops)
 = httpData()
 = httpData()
Returns the data received from the last request (5 ops)
 = httpSuccess()
 = httpSuccess()
Returns whether the previous request was successful (5 ops)
 = httpRequestUrl()
 = httpRequestUrl()
Returns the URL of the last request (5 ops)
 = httpUrlEncode(
 = httpUrlEncode( Data)
 Data)
Returns formatted string to be placed in the URL (5 ops)
 = httpUrlDecode(
 = httpUrlDecode( Data)
 Data)
Returns decoded URL data (5 ops)
runOnHTTP( Rohttp)
 Rohttp)
DEPRECATED. Use 'event httpLoaded(Body:string, Size:number, Url:string)' and 'event httpErrored(Error:string, Url:string)' instead! Sets whether to run the expression when a request finishes (5 ops)