///<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";
        }
Beispiel #2
0
        ///<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";
        }
Beispiel #3
0
 ///<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);
 }