Failure

data class Failure(val quality: Double, val failureStatusCode: HttpStatusCode) : RouteSelectorEvaluation

A failed result of a route evaluation against a call.

Parameters

quality

indicates a quality of this route as compared to other sibling routes

failureStatusCode

response status code in case of failure. Usually one of 400, 404, 405. Ignored on successful evaluation

Constructors

Link copied to clipboard
constructor(quality: Double, failureStatusCode: HttpStatusCode)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard