Module urlshortener::providers

source ·
Expand description

Library service providers implementation.

Enums§

  • Used to specify which provider to use to generate a short URL.
  • Describes the provider error.

Constants§

  • A slice of all Provider variants which do not require authentication. This list is in order of provider quality.

Functions§

  • Parses the response from a successful request to a provider into the URL-shortened string.
  • Performs a request to the short link provider. Returns the request object which can be used for performing requests.