dutils.message.message

Undocumented in source.

Members

Enums

ResponseStatus
enum ResponseStatus
Undocumented in source.

Structs

Message
struct Message
Undocumented in source.
ResponseBadRequest
struct ResponseBadRequest

The standard message type to send back when the request message has an error, being less specific than ResponseInvalid or ResponseBadType it is better to try to use one of them as much as possible over this payload.

ResponseBadType
struct ResponseBadType

The standard message type to send back when the type recieved is not supported

ResponseForbidden
struct ResponseForbidden

The standard message type to send back when the supplied token is not valid or lacks required permissions

ResponseInternalError
struct ResponseInternalError

The standard message type to send back when there was an internal error, this message will not reveal any details but best practice is to also log the error on the service side.

ResponseInvalid
struct ResponseInvalid

The standard message type to send back when there are validation errors from the data that the client sent

ResponseOK
struct ResponseOK

The standard message type to send back on success when no response data is needed

ResponseTimeout
struct ResponseTimeout

The standard message type to send back when the service did not produce a response message before the timeout.

SetResponseStatus
struct SetResponseStatus
Undocumented in source.

Meta