Method | Description | |
---|---|---|
GenerateTeXUrl ( string equation ) : string |
Generates a TeX equation URL using the provided equation text
|
|
GenerateUrl ( PageInfo page ) : string |
Generates the URL for the given request term
|
|
ProcessRequests ( ) : void |
Processes requests coming from the web browser
|
|
SendHeader ( string httpVersion, int bytesCount, string redirectLocation, Socket socket, string mime ) : void |
Sends HTTP header to the client
|
|
Stop ( ) : void |
Stops this instance.
|
Method | Description | |
---|---|---|
WebServer ( ) : System |
Initializes a new instance of the WebServer class.
|
public GenerateTeXUrl ( string equation ) : string | ||
equation | string | Equation text |
return | string |
public GenerateUrl ( PageInfo page ) : string | ||
page | PageInfo | |
return | string |
public SendHeader ( string httpVersion, int bytesCount, string redirectLocation, Socket socket, string mime ) : void | ||
httpVersion | string | Http version string |
bytesCount | int | The number of bytes in the response stream |
redirectLocation | string | The location to redirect the browser to |
socket | Socket | The socket where to write to |
mime | string | The MIME type of the response |
return | void |