Module
URI.Port
- Package
- purescript-uri
- Repository
- purescript-contrib/purescript-uri
#unsafeFromInt Source
unsafeFromInt :: Int -> Port
Constructs a port from an integer directly: if the value is not an acceptable port number a runtime error will be thrown.
This is intended as a convenience when describing Port
s statically in
PureScript code, in all other cases fromInt
should be preferred.
- Modules
- URI
- URI.
AbsoluteURI - URI.
Authority - URI.
Common - URI.
Extra. MultiHostPortPair - URI.
Extra. QueryPairs - URI.
Extra. UserPassInfo - URI.
Fragment - URI.
HierarchicalPart - URI.
Host - URI.
Host. Gen - URI.
Host. IPv4Address - URI.
Host. IPv6Address - URI.
Host. RegName - URI.
HostPortPair - URI.
HostPortPair. Gen - URI.
Path - URI.
Path. Absolute - URI.
Path. NoScheme - URI.
Path. Rootless - URI.
Path. Segment - URI.
Port - URI.
Port. Gen - URI.
Query - URI.
RelativePart - URI.
RelativeRef - URI.
Scheme - URI.
Scheme. Common - URI.
URI - URI.
URIRef - URI.
UserInfo