URL.UUID (URL v1.3.0) View Source
Parses a geo
URL
Link to this section Summary
Functions
Parse a URI with the :scheme
of "uuid"
Link to this section Types
Specs
Link to this section Functions
Specs
Parse a URI with the :scheme
of "uuid"
Example
iex> uuid = URI.parse("uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6;a=b")
iex> URL.UUID.parse(uuid)
%URL.UUID{params: %{"a" => "b"}, uuid: "f81d4fae-7dec-11d0-a765-00a0c91e6bf6"}
iex> uuid = URI.parse("urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6;a=b")
iex> URL.UUID.parse(uuid)
%URL.UUID{params: %{"a" => "b"}, uuid: "f81d4fae-7dec-11d0-a765-00a0c91e6bf6"}