kvasir v0.0.4 Kvasir.Type.URI View Source
Any valid URI.
The URI validation can enforce specific host or scheme values,
by default host and scheme can not be nil.
The following type of checks are allow:
nil, everything butnilallowed.binary, any string to match.regex, any regex to match.list, any list of (string) values.
Link to this section Summary
Functions
Parse a Kvasir.Type.URI type value.
Link to this section Functions
Parse a Kvasir.Type.URI type value.
Examples
iex> Kvasir.Type.URI.parse!(pid())
** (Kvasir.InvalidType) Invalid Elixir.Kvasir.Type.URI type.