Skip to main content

detect_url_scheme

Function
This function is defined in the parse_utils module.
Detect URL scheme from a string. O(1) operation.

Signature

Parameters

&str
required
No description available.

Returns

Option<String>
The result of the operation.

Usage

Uses

  • contains
  • find
  • chars
  • all
  • is_alphanumeric
  • to_lowercase

Source

View on GitHub

praisonai/src/parity/parse_utils.rs at line 26