VersionCheckResult

enum class VersionCheckResult

Represent result of the version comparison between content being sent and HTTP request.

Parameters

statusCode - represents HttpStatusCode associated with the result.

Enum Values

OK

Indicates that content needs to be sent to recipient.

NOT_MODIFIED

Indicates that content has not modified according to headers sent by client.

PRECONDITION_FAILED

One or more conditions given in the request header fields evaluated to false.

Properties

statusCode

val statusCode: HttpStatusCode

represents HttpStatusCode associated with the result.