Result sent back from the Web request to the server. Result is serialized into JSON so the result value should be a serializable value (using JSON.NET so object/anonymous types work)
MarkdownMonster.Services.WebServerResult
public class WebServerResult : object
Class Members
Member | Description | |
---|---|---|
Constructor |
Use this ctor to return a non-data result |
|
ContentType |
The requests content type. Typically will be JSON object unless no data is returned. |
|
ErrorMessage |
An error message when an error occurs |
|
hasNoData |
Set to true if returning no data |
|
HttpStatusCode |
Optional HTTP status code - defaults: 200 for success, 500 for errors |
|
IsError |
Error flag that can be checked for errors |
|
Result |
The result to return to the client on a success response |
Requirements
Namespace: MarkdownMonster.ServicesAssembly: markdownmonster.exe
© West Wind Technologies, 2016-2023 • Updated: 05/18/22
Comment or report problem with topic