Browsing Wiremod's section
← Back to ACE
🔁

Mirrored article

This page is synced automatically from the wiremod/wire GitHub wiki (last synced 1 hour ago). Edits made here will be overwritten on the next sync — contribute on the source wiki instead.

e2 docs http

📁 CommunicationUpdated 1 hour ago•0 views
Http httpRequest( Url) Starts a new request (20 ops) = httpCanRequest() Returns whether you can make a new request (delay has been met or previous request timed out) (5 ops) = httpClk() DEPRECATED. Us

Jump to table of contents

Http
httpRequest( Url)
Starts a new request (20 ops)

= httpCanRequest()
Returns whether you can make a new request (delay has been met or previous request timed out) (5 ops)

= 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()
Returns the data received from the last request (5 ops)

= httpSuccess()
Returns whether the previous request was successful (5 ops)

= httpRequestUrl()
Returns the URL of the last request (5 ops)

= httpUrlEncode( Data)
Returns formatted string to be placed in the URL (5 ops)

= httpUrlDecode( Data)
Returns decoded URL data (5 ops)

runOnHTTP( 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)

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.