AtUri
Pennington.StandardSite
Builds and parses AT Protocol at:// URIs of the form at://{did}/{collection}/{rkey}. Pure string work — no PDS access.
Methods
Build
#public static string Build(string did, string collection, string rkey)
Composes an at:// URI from its parts.
Parameters
didstringcollectionstringrkeystring
Returns
stringParse
#public static ValueTuple<string, string, string>? Parse(string uri)
Parses an at:// URI into its DID, collection NSID, and record key, or returns null when the input is not a well-formed three-part AT-URI.
Parameters
uristring
Returns
ValueTuple<string, string, string>?Pennington.StandardSite.AtUri
namespace Pennington.StandardSite;
/// Builds and parses AT Protocol at:// URIs of the form at://{did}/{collection}/{rkey}. Pure string work — no PDS access.
public class AtUri
{
/// Composes an at:// URI from its parts.
public static string Build(string did, string collection, string rkey)
;
/// Parses an at:// URI into its DID, collection NSID, and record key, or returns null when the input is not a well-formed three-part AT-URI.
public static ValueTuple<string, string, string>? Parse(string uri)
;
}