Logo Navs

UrlTemplate Type

Parses and builds URL templates without any F# types in the signatures.

Static members

Static member Description

UrlTemplate.TryBuild(pattern, parameters, url, errors)

Full Usage: UrlTemplate.TryBuild(pattern, parameters, url, errors)

Parameters:
Returns: bool

Builds a URL from a template and its parameters.

pattern : string
parameters : IReadOnlyDictionary<string, obj>
url : byref<string>
errors : byref<IReadOnlyList<string>>
Returns: bool

UrlTemplate.TryParse(pattern, template, error)

Full Usage: UrlTemplate.TryParse(pattern, template, error)

Parameters:
    pattern : string
    template : byref<Template>
    error : byref<string>

Returns: bool

Parses a route template such as /users/:id<int>.

pattern : string
template : byref<Template>
error : byref<string>
Returns: bool

Type something to start searching.