SReject / JSON-For-Mirc

JSON parser for mIRC
19 stars 6 forks source link

Add async http request support #10

Closed SReject closed 4 years ago

SReject commented 8 years ago

Add a -a switch to /JSONOpen that allows for asyncronous HTTP requests when the -u switch is specified. When the async HTTP request completes a specified callback alias should be called.

Details

/JSONOpen -ua @Handle @Source @Callback

-a: Used with -u; indicates an async http request is to be made

@Callback The alias to call when the request completes It will be called with a single parameter: a reference to the JSON handle

SReject commented 4 years ago

With the addition of $urlget() to mIRC this is no longer applicable