OnHTTPRequest: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
No edit summary
 
(No difference)

Latest revision as of 01:10, 28 September 2019

Event Server Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline Cancellable

Available since Server 1.0.0

function(Event event, string URL, string data)

The onHTTPRequest event is invoked when a HTTP request has entirely received the HTTP response.

Parameters

1) Event event The event object for this event.
2) string URL The URL which was requested.
3) string data The HTTP response data.

Attributes

cancellable This event can be cancelled, by using event.preventDefault.

Notes

There aren't any notes for this event.

Examples

There aren't any examples for this event.

Compatibility

There isn't any compatibility information for this event.

Related

Server Related

icon-iii.png icon-vc.png icon-sa.png OnHTTPRequest