RouteSpec

data class RouteSpec(val grpcRoute: RouteSpecGrpcRoute? = null, val http2Route: RouteSpecHttp2Route? = null, val httpRoute: RouteSpecHttpRoute? = null, val priority: Int? = null, val tcpRoute: RouteSpecTcpRoute? = null)

Constructors

Link copied to clipboard
constructor(grpcRoute: RouteSpecGrpcRoute? = null, http2Route: RouteSpecHttp2Route? = null, httpRoute: RouteSpecHttpRoute? = null, priority: Int? = null, tcpRoute: RouteSpecTcpRoute? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

GRPC routing information for the route.

Link copied to clipboard

HTTP/2 routing information for the route.

Link copied to clipboard

HTTP routing information for the route.

Link copied to clipboard
val priority: Int? = null

Priority for the route, between 0 and 1000. Routes are matched based on the specified value, where 0 is the highest priority.

Link copied to clipboard

TCP routing information for the route.