uploadBefore

val uploadBefore: EventType<Event>

Fired before the XHR is opened. Useful for changing the request URL. If the default is prevented, the XHR is not opened.