Header menu logo FSharp.ATProto

Uri Module

Functions for creating, validating, and extracting data from Uri values.

Functions and values

Function or value Description

parse s

Full Usage: parse s

Parameters:
    s : string - A URI string with a valid scheme followed by : and a non-empty, whitespace-free body. The scheme must start with a letter and may contain letters, digits, +, -, and ..

Returns: Result<Uri, string> Ok with a validated Uri, or Error with a message describing the validation failure. Validation failures include: null input, exceeding 8192 characters, or invalid URI syntax.

Parse and validate a URI string.

s : string

A URI string with a valid scheme followed by : and a non-empty, whitespace-free body. The scheme must start with a letter and may contain letters, digits, +, -, and ..

Returns: Result<Uri, string>

Ok with a validated Uri, or Error with a message describing the validation failure. Validation failures include: null input, exceeding 8192 characters, or invalid URI syntax.

value arg1

Full Usage: value arg1

Parameters:
Returns: string The full URI string.

Extract the string representation of a URI.

arg0 : Uri
Returns: string

The full URI string.

Type something to start searching.