KeelResponse

constructor(code: Int, message: String? = null, data: T? = null, timestamp: Long = Clock.System.now().toEpochMilliseconds())(source)

Parameters

code

HTTP-style status code (200=success, 400=bad request, 401=unauthorized, 403=forbidden, 404=not found, 500=error)

message

Human-readable message

data

Response payload

timestamp

Unix timestamp in milliseconds