This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.

Syntax

C# Copy imageCopy Code
                                  public class HttpServer
Visual Basic (Declaration) Copy imageCopy Code
                                  Public Class HttpServer

The type exposes the following members.

Public Constructors

  Name Description
Public method HttpServer
Initializes a new instance of the HttpServer class.

Public Methods

  Name Description
Public method AddUrlBase
Adds an URL base.
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetRelativePath
Gets the relative path of an Url
Public method GetType (Inherited from Object.)
Public method GetUrlBase
Gets the URL base for the Url.
Public method Start
Starts the Web Server
Public method Stop
Shut down the Web Service
Public method ToString (Inherited from Object.)

Protected Methods

  Name Description
Protected method Finalize (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method ProcessRequest
Overridable method that can be used to implement a custom hnandler
Protected method WebRequestCallback
Callback for the Web Request.

Protected Fields

  Name Description
Protected field IsStarted
Returns true if the server is listening
Protected field Listener
The HttpListener
Protected field urlBases
Returns the list of UrlBases the server is listening to

Public Properties

  Name Description
Public property IsListening
Gets a value indicating whether this instance is listening.

Public Events

  Name Description
Public event EndRequest
Event fired at the end of the request
Public event Error
Event fired at the end of the request
Public event ReceiveWebRequest
Event raised when receving a request

See Also

Advanced