///<summary> /// Creates a WebEvent with the given path. ///</summary> ///<param name="path">A string that identifies the event when an http request is received.</param> internal WebEvent(string path) { noHandlerSet = true; this.Path = path; this.manager = WebServerManager.GetInstance(); manager.AddWebEvent(this); ContentType = "text/plain"; }
///<summary> /// Creates a WebEvent with the given path. ///</summary> ///<param name="path">A string that identifies the event when an http request is received.</param> internal WebEvent(string path) : this() { Path = path; manager.AddWebEvent(this); }