C# Class SobekCM.Engine_Library.Endpoints.EndpointBase

Base engine endpoint has helper method for serialization of the return object
Show file Open project: MarkVSullivan/SobekCM-Web-Application

Protected Methods

Method Description
Serialize ( object ReturnValue, HttpResponse Response, Microservice_Endpoint_Protocol_Enum Protocol, string CallbackJsonP ) : void

Serialize the return object, according to the protocol requested

Method Details

Serialize() protected method

Serialize the return object, according to the protocol requested
protected Serialize ( object ReturnValue, HttpResponse Response, Microservice_Endpoint_Protocol_Enum Protocol, string CallbackJsonP ) : void
ReturnValue object Return object to serialize
Response System.Web.HttpResponse HTTP Response to write result to
Protocol Microservice_Endpoint_Protocol_Enum Requested protocol type
CallbackJsonP string Callback function for JSON-P
return void