public AddEventListener ( XmlHttpRequestEvents type, Action listener ) : void | ||
type | XmlHttpRequestEvents | |
listener | Action | |
Résultat | void |
public static XmlHttpRequest Send (this FormData fd, SendFormDataConfig config){ var rq = new XmlHttpRequest (); rq.Open (config.Verb , config.Url); foreach (var h in config.Handlers) rq.AddEventListener (h.Key, h.Value); rq.SendFormData (fd); return rq; }