Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface UriPathRouteInput

The configuration for the URI path route type.

Hierarchy

  • UriPathRouteInput

Index

Properties

ActivationState

ActivationState: RouteActivationState | string | undefined

If set to ACTIVE, traffic is forwarded to this route’s service after the route is created.

Optional IncludeChildPaths

IncludeChildPaths: undefined | false | true

Indicates whether to match all subpaths of the given source path. If this value is false, requests must match the source path exactly before they are forwarded to this route's service.

Optional Methods

Methods: (HttpMethod | string)[]

A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP requests using that method are forwarded to this route’s service.

SourcePath

SourcePath: string | undefined

The path to use to match traffic. Paths must start with / and are relative to the base of the application.