Module rocket::http::uri

source ·
Expand description

Types for URIs and traits for rendering URI components.

Modules

  • Errors arising from parsing invalid URIs.
  • Type safe and URI safe formatting types and traits.

Structs

  • A URI with a scheme, authority, path, and query.
  • The literal * URI.
  • A URI with an authority only: user:pass@host:8000.
  • Error emitted on URI parse failure.
  • A domain and port identified by a client as the server being messaged.
  • A URI with an absolute path and optional query: /path?query.
  • A URI path: /foo/bar, foo/bar, etc.
  • A URI query: ?foo&bar.
  • A URI-reference with optional scheme, authority, relative path, query, and fragment parts.
  • Iterator over the non-empty, percent-decoded segments of a URI component.

Enums

  • An enum encapsulating any of the possible URI variants.