Header menu logo Navs

UrlMatchExtensions Type

Static members

Static member Description

UrlMatchExtensions.getFromParams (urlMatch, name)

Full Usage: UrlMatchExtensions.getFromParams (urlMatch, name)

Parameters:
    urlMatch : UrlMatch - The match result to get the parameter from
    name : string - The name of the parameter to get

Returns: 'CastedType voption The parameter value if it exists in the query parameters or path segments and it was succesfully parsed to it's supplied type or None if it doesn't
Modifiers: inline
Type parameters: 'CastedType

Gets a parameter from the query parameters or segments of the URL

urlMatch : UrlMatch

The match result to get the parameter from

name : string

The name of the parameter to get

Returns: 'CastedType voption

The parameter value if it exists in the query parameters or path segments and it was succesfully parsed to it's supplied type or None if it doesn't

UrlMatchExtensions.getParamFromPath (urlMatch, name)

Full Usage: UrlMatchExtensions.getParamFromPath (urlMatch, name)

Parameters:
    urlMatch : UrlMatch - The match result to get the parameter from
    name : string - The name of the parameter to get

Returns: 'CastedType voption The parameter value if it exists in the path segments and it was succesfully parsed to it's supplied type or None if it doesn't
Modifiers: inline
Type parameters: 'CastedType

Gets a parameter from the path segments of the URL

urlMatch : UrlMatch

The match result to get the parameter from

name : string

The name of the parameter to get

Returns: 'CastedType voption

The parameter value if it exists in the path segments and it was succesfully parsed to it's supplied type or None if it doesn't

UrlMatchExtensions.getParamFromQuery (urlMatch, name)

Full Usage: UrlMatchExtensions.getParamFromQuery (urlMatch, name)

Parameters:
    urlMatch : UrlMatch - The match result to get the parameter from
    name : string - The name of the parameter to get

Returns: 'CastedType voption The parameter value if it exists in the query parameters and it was succesfully parsed to it's supplied type or None if it doesn't
Modifiers: inline
Type parameters: 'CastedType

Gets a parameter from the query parameters of the URL

urlMatch : UrlMatch

The match result to get the parameter from

name : string

The name of the parameter to get

Returns: 'CastedType voption

The parameter value if it exists in the query parameters and it was succesfully parsed to it's supplied type or None if it doesn't

UrlMatchExtensions.getParamSeqFromQuery (urlMatch, name)

Full Usage: UrlMatchExtensions.getParamSeqFromQuery (urlMatch, name)

Parameters:
    urlMatch : UrlMatch - The match result to get the parameter from
    name : string - The name of the parameter to get

Returns: 'CastedType seq voption The parameter values if it exists in the query parameters and it was succesfully parsed to it's supplied type or None if it doesn't
Modifiers: inline
Type parameters: 'CastedType

Gets a sequence of parameters from the supplied query key in the URL

urlMatch : UrlMatch

The match result to get the parameter from

name : string

The name of the parameter to get

Returns: 'CastedType seq voption

The parameter values if it exists in the query parameters and it was succesfully parsed to it's supplied type or None if it doesn't

Type something to start searching.