TResponse object¶
The TResponse object is usually a type of the data field in the RequestResponse. There are currently three basic types of a TResponse.
TResponseWithFlashMessenger¶
TResponseWithFlashMessenger has one property called flashMessages which has the type of TFlashMessenger.
TResponseWithStatus¶
TResponseWithStatus has one property called status which has the type of TResponseStatus.
TResponseWithId¶
TResponseWithId has one property called id which has the type of number.
TResponseWithMessagesAndStatus¶
TResponseWithMessagesAndStatus has two properties:
flashMessagesof type TFlashMessengerstatusof type TResponseStatus
TResponseWithMessagesStatusAndId¶
TResponseWithMessagesAndStatus has three properties:
flashMessagesof type TFlashMessengerstatusof type TResponseStatusidof typenumber
TResponseStatus¶
TResponseStatus has two properties, success and failed.