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 Code |
---|---|
public class HttpServer |
Visual Basic (Declaration) | Copy Code |
---|---|
Public Class HttpServer |
The type exposes the following members.
Public Constructors
Name | Description | |
---|---|---|
HttpServer |
Initializes a new instance of the HttpServer class.
|
Public Methods
Name | Description | |
---|---|---|
AddUrlBase |
Adds an URL base.
|
|
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetRelativePath |
Gets the relative path of an Url
|
|
GetType | (Inherited from Object.) | |
GetUrlBase |
Gets the URL base for the Url.
|
|
Start |
Starts the Web Server
|
|
Stop |
Shut down the Web Service
|
|
ToString | (Inherited from Object.) |
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ProcessRequest |
Overridable method that can be used to implement a custom hnandler
|
|
WebRequestCallback |
Callback for the Web Request.
|
Protected Fields
Name | Description | |
---|---|---|
IsStarted |
Returns true if the server is listening
|
|
Listener |
The HttpListener
|
|
urlBases |
Returns the list of UrlBases the server is listening to
|
Public Properties
Name | Description | |
---|---|---|
IsListening |
Gets a value indicating whether this instance is listening.
|
Public Events
Name | Description | |
---|---|---|
EndRequest |
Event fired at the end of the request
|
|
Error |
Event fired at the end of the request
|
|
ReceiveWebRequest |
Event raised when receving a request
|
See Also
Smartsite.Web Namespace