VirtualFileRequestHandler::ServiceInterfaceΒΆ

class kanzi::connect::VirtualFileRequestHandler::ServiceInterface

Inner class to define a callback interface from this Civet specific handler class.

Subclassed by VirtualFileService

Public Functions

virtual bool processFileReadRequest(struct mg_connection *connection) = 0

Invoked to handle a content request.

Parameters
  • connection: The civet connection.

virtual bool processPostContentRequest(struct mg_connection *connection) = 0

Invoked to handle HTTP post request.

Return

If request is handled, true, otherwise false.

Parameters
  • connection: The civet connection