C# Class SobekCM.Engine_Library.Endpoints.EndpointBase

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

Méthodes protégées

Méthode 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 méthode

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
Résultat void