[−][src]Crate webfinger
A crate to help you fetch and serve WebFinger resources.
Use resolve
to fetch remote resources, and Resolver
to serve your own resources.
Structs
Link | Structure to represent a WebFinger link |
Webfinger | WebFinger result that may serialized or deserialized to JSON |
Enums
Prefix | A prefix for a resource, either |
ResolverError | An error that occured while handling an incoming WebFinger request. |
WebfingerError | An error that occured while fetching a WebFinger resource. |
Traits
Resolver | A trait to easily generate a WebFinger endpoint for any resource repository. |
Functions
resolve | Fetches a Webfinger resource. |
resolve_with_prefix | Fetches a WebFinger resource, identified by the |
url_for | Computes the URL to fetch for a given resource. |