AddEventListener() 공개 메소드

public AddEventListener ( XmlHttpRequestEvents type, Action listener ) : void
type XmlHttpRequestEvents
listener Action
리턴 void
예제 #1
0
		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;
		}