| Did you know ... | Search Documentation: |
| Pack logtalk -- logtalk-3.98.0/docs/handbook/_sources/libraries/url.rst.txt |
.. _library_url:
urlThis library implements validation, parsing, generating, and normalization of URLs, which can be represented as atoms, character lists, or code lists. It currently supports the following URL schemes:
Web protocols:
httphttpswswssgopher
File transfer and version control:ftpftpssftpgit
File access:file
Databases:jdbcmongodbmysqlpostgresql
Email and news:mailtonewsnntp
Media streaming:mmsrtmprtsp
Shell access:sshtelnet
Directory services:ldapldaps
Other protocols:telurn
The library predicates are defined in the url(_Representation_)
parametric object where _Representation_ can be one of:atom - strings are represented as atomschars - strings are represented as lists of characterscodes - strings are represented as lists of character codes
The parameter must be bound when sending messages to the object.Open the `../../apis/library_index.html#url <../../apis/library_index.html#url>`__ link in a web browser.
To load all entities in this library, load the loader.lgt file:
::
| ?- logtalk_load(url(loader)).
To test this library predicates, load the tester.lgt file:
::
| ?- logtalk_load(url(tester)).