PathMatchResult.getPathParam

Gets the string value of a specified path parameter.

struct PathMatchResult
const
string
getPathParam
(
string name
)

Parameters

name string

The name of the path parameter.

Return Value

Type: string

The value of the path parameter, or null if no such parameter exists.

Meta