package uri
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=c452823fd870cf7cffe51aef3e9ca646a382dc6f87282f2b16bfe30a7515ac43
sha512=c015576bb077fd243022bcd8804e628d23a253dcd8bbdda8dc2a57e86cfeb9fd629087ec7d7e23dc71dd7cd137450ca2c5ecf8fb7d184ec9d1d4e41f6f83ee38
doc/uri.services/Uri_services/index.html
Module Uri_services
Source
Module that maps the more common IANA well-known ports to and from their textual service names. To save memory, this module does not contains only the more common services. Use the Uri_services_full
module if you need the complete list.
Convert a TCP port number into a list of IANA well-known service names
Convert a UDP port number into a list of IANA well-known service names
Convert a IANA well-known service name into a list of valid TCP port numbers
Convert a IANA well-known service name into a list of valid UDP port numbers
Extract a TCP port from a URI, using a default service if the URI does not contain a scheme
Extract a UDP port from a URI, using a default service if the URI does not contain a scheme
List of known TCP services. These keys are guaranteed to match in the rest of the lookup functions.
List of known UDP services. These keys are guaranteed to match in the rest of the lookup functions.
Association list of protocol * service list
. Usually populated with at least "tcp" and "udp" keys for those respective protocols.