Class WebServer
System.Object
  MarkdownMonster.Services.WebServer
public class WebServer : object

Class Members

MemberDescription

Constructor

HandleOperation

public void HandleOperation(string action,     string data,     string type)

public void HandleOperation(string action,     object data)

RunServer

public void RunServer()

StartServer

public bool StartServer(string ipAddress,     int serverPort)

StopServer

public void StopServer()

WriteDataResponse

Creates a response with a data result

public void WriteDataResponse(object data)

WriteErrorResponse

public void WriteErrorResponse(string message,     int httpStatusCode)

WriteNoDataResponse

Writes a 204 response with no data

public void WriteNoDataResponse()

WriteResponse

Writes a response with a full WebServerResult structure that allows maximum control over the response output.

public void WriteResponse(WebServerResult result)

ConnectionTimeout

Connection Timeout in milliseconds. Resets connection if waiting longer than this timeout.

LastException

Last exception that occurred when starting the server or intercepting request data.

OnMarkdownMonsterOperation

Requirements

Namespace: MarkdownMonster.Services
Assembly: markdownmonster.exe

© West Wind Technologies, 2016-2024 • Updated: 05/18/22
Comment or report problem with topic