quri

API Reference

quri

Yet another URI library for Common Lisp

QURI

  • Function COPY-URI (uri &key (scheme (uri-scheme uri)) (userinfo (uri-userinfo uri)) (host (uri-host uri)) (port (uri-port uri)) (path (uri-path uri)) (query (uri-query uri)) (fragment (uri-fragment uri)))
  • Function MAKE-URI (&rest initargs &key scheme userinfo host port path query fragment defaults)
  • Function RENDER-URI (uri &optional stream)
  • Function URI= (uri1 uri2)
  • Function MERGE-URIS (reference base)

Also exports

  • QURI.URI:URI-PATH
  • QURI.ENCODE:URL-ENCODE-PARAMS
  • QURI.URI:URI-USERINFO
  • QURI.ERROR:URI-MALFORMED-STRING
  • QURI.URI:URI-AUTHORITY
  • QURI.ERROR:URI-ERROR
  • QURI.DECODE:URL-DECODE
  • QURI.URI:URN-NSS
  • QURI.URI:URN
  • QURI.URI:URI-HOST
  • QURI.DOMAIN:IP-ADDR-P
  • QURI.URI.LDAP:URI-LDAP-DN
  • QURI.URI.LDAP:URI-LDAP-FILTER
  • QURI.PARSER:PARSE-SCHEME
  • QURI.URI.FTP:URI-FTP-TYPECODE
  • QURI.URI:URI-QUERY
  • QURI.URI.LDAP:URI-LDAP
  • QURI.URI:URN-P
  • QURI.PARSER:PARSE-FRAGMENT
  • QURI.URI:URN-NID
  • QURI.ERROR:URL-DECODING-ERROR
  • QURI.URI.FILE:URI-FILE
  • QURI.URI.FILE:URI-FILE-P
  • QURI.DOMAIN:COOKIE-DOMAIN-P
  • QURI.DOMAIN:IPV4-ADDR-P
  • QURI.DECODE:URL-DECODE-PARAMS
  • QURI.URI.LDAP:URI-LDAP-ATTRIBUTES
  • QURI.URI:URI
  • QURI.DOMAIN:URI-TLD
  • QURI.URI.FTP:URI-FTP-P
  • QURI.URI:URI-SCHEME
  • QURI.URI.LDAP:URI-LDAP-SCOPE
  • QURI.ERROR:URI-MALFORMED-URLENCODED-STRING
  • QURI.URI.HTTP:URI-QUERY-PARAMS
  • QURI.URI:URI-PORT
  • QURI.URI.LDAP:URI-LDAP-EXTENSIONS
  • QURI.URI.HTTP:URI-HTTP
  • QURI.PARSER:PARSE-AUTHORITY
  • QURI.URI.FTP:URI-FTP
  • QURI.URI.FILE:URI-FILE-PATHNAME
  • QURI.PARSER:PARSE-QUERY
  • QURI.PARSER:PARSE-PATH
  • QURI.PARSER:PARSE-URI
  • QURI.URI:URI-FRAGMENT
  • QURI.DOMAIN:URI-DOMAIN
  • QURI.ERROR:URI-INVALID-PORT
  • QURI.URI:URI-P
  • QURI.ENCODE:URL-ENCODE
  • QURI.URI.LDAP:URI-LDAP-P
  • QURI.DOMAIN:IPV6-ADDR-P
  • QURI.URI.HTTP:URI-HTTP-P
  • QURI.DOMAIN:IP-ADDR=

QURI.URI

  • Struct URI
    SCHEME
    USERINFO
    HOST
    PORT
    PATH
    QUERY
    FRAGMENT
  • Function URI-P (object)
  • Function URI-SCHEME (instance)
  • Function (setf URI-SCHEME) (value instance)
  • Function URI-USERINFO (instance)
  • Function (setf URI-USERINFO) (value instance)
  • Function URI-HOST (instance)
  • Function (setf URI-HOST) (value instance)
  • Function URI-PORT (instance)
  • Function (setf URI-PORT) (value instance)
  • Function URI-PATH (instance)
  • Function (setf URI-PATH) (value instance)
  • Function URI-QUERY (instance)
  • Function (setf URI-QUERY) (value instance)
  • Function URI-FRAGMENT (instance)
  • Function (setf URI-FRAGMENT) (value instance)
  • Function MAKE-BASIC-URI (&key scheme userinfo host port path query fragment)
  • Function URI-AUTHORITY (uri)
  • Struct URN
    NID
    NSS
  • Function URN-P (object)
  • Function URN-NID (instance)
  • Function (setf URN-NID) (value instance)
  • Function URN-NSS (instance)
  • Function (setf URN-NSS) (value instance)
  • Function MAKE-URN (&rest initargs)

QURI.URI.FTP

  • Struct URI-FTP
    TYPECODE
  • Function URI-FTP-P (object)
  • Function URI-FTP-TYPECODE (instance)
  • Function (setf URI-FTP-TYPECODE) (value instance)
  • Function MAKE-URI-FTP (&rest initargs)

QURI.URI.HTTP

  • Struct URI-HTTP
    No slots.
  • Function URI-HTTP-P (object)
  • Function MAKE-URI-HTTP (&key ((scheme scheme) "http") ((userinfo userinfo) nil) ((host host) nil) ((port port) 80) ((path path) nil) ((query query) nil) ((fragment fragment) nil))
  • Struct URI-HTTPS
    No slots.
  • Function URI-HTTPS-P (object)
  • Function MAKE-URI-HTTPS (&key ((scheme scheme) "https") ((userinfo userinfo) nil) ((host host) nil) ((port port) 443) ((path path) nil) ((query query) nil) ((fragment fragment) nil))
  • Function URI-QUERY-PARAMS (http)
  • Function (setf URI-QUERY-PARAMS) (new http)

QURI.URI.LDAP

  • Struct URI-LDAP
    No slots.
  • Function URI-LDAP-P (object)
  • Function MAKE-URI-LDAP (&key ((scheme scheme) "ldap") ((userinfo userinfo) nil) ((host host) nil) ((port port) 389) ((path path) nil) ((query query) nil) ((fragment fragment) nil))
  • Struct URI-LDAPS
    No slots.
  • Function URI-LDAPS-P (object)
  • Function MAKE-URI-LDAPS (&key ((scheme scheme) "ldaps") ((userinfo userinfo) nil) ((host host) nil) ((port port) 636) ((path path) nil) ((query query) nil) ((fragment fragment) nil))
  • Function URI-LDAP-DN (ldap)
  • Function (setf URI-LDAP-DN) (new ldap)
  • Function URI-LDAP-ATTRIBUTES (ldap)
  • Function (setf URI-LDAP-ATTRIBUTES) (new ldap)
  • Function URI-LDAP-SCOPE (ldap)
  • Function (setf URI-LDAP-SCOPE) (new ldap)
  • Function URI-LDAP-FILTER (ldap)
  • Function (setf URI-LDAP-FILTER) (new ldap)
  • Function URI-LDAP-EXTENSIONS (ldap)
  • Function (setf URI-LDAP-EXTENSIONS) (new ldap)

QURI.URI.FILE

  • Struct URI-FILE
    No slots.
  • Function URI-FILE-P (object)
  • Function MAKE-URI-FILE (&key ((scheme scheme) "file") ((userinfo userinfo) nil) ((host host) nil) ((port port) nil) ((path path) nil) ((query query) nil) ((fragment fragment) nil))
  • Function URI-FILE-PATHNAME (file)
    Get a lisp pathname object from a file URI. Assumes that the path of the file URI is correct path syntax for the environment.

QURI.DOMAIN

  • Function URI-TLD (uri)
  • Function URI-DOMAIN (uri)
  • Function IPV4-ADDR-P (host)
  • Function IPV6-ADDR-P (host)
  • Function IP-ADDR-P (host)
  • Function IP-ADDR= (ip1 ip2)
  • Function COOKIE-DOMAIN-P (domain cookie-domain)

QURI.ETLD

  • Function PARSE-DOMAIN (hostname)

QURI.PARSER

  • Function PARSE-URI (data &key (start 0) end)
  • Function PARSE-SCHEME (data &rest args760 &key start end)
  • Function PARSE-AUTHORITY (data &rest args1128 &key start end)
  • Function PARSE-PATH (data &key (start 0) (end (length data)))
  • Function PARSE-QUERY (data &key (start 0) (end (length data)))
  • Function PARSE-FRAGMENT (data &key (start 0) (end (length data)))

QURI.DECODE

  • Function URL-DECODE (data &key (encoding *default-character-encoding*) (start 0) end (lenient nil))
  • Function URL-DECODE-PARAMS (data &key (delimiter #\&) (encoding *default-character-encoding*) (start 0) end (lenient nil))

QURI.ENCODE

  • Function URL-ENCODE (data &key (encoding *default-character-encoding*) (start 0) end space-to-plus)
  • Function URL-ENCODE-PARAMS (params-alist &key (encoding *default-character-encoding*) space-to-plus)

QURI.PORT

  • Function SCHEME-DEFAULT-PORT (scheme)

QURI.UTIL

  • Function STANDARD-ALPHA-CHAR-P (char)
  • Function STANDARD-ALPHA-BYTE-P (byte)
  • Function STANDARD-ALPHANUMERIC-P (char)
  • Function STANDARD-ALPHANUMERIC-BYTE-P (byte)
  • Macro WITH-STRING-PARSING ((elem p seq &optional (start 0) end key) &body body)
  • Macro WITH-BYTE-ARRAY-PARSING ((elem p seq &optional (start 0) end key) &body body)
  • Macro WITH-ARRAY-PARSING ((elem p seq &optional (start 0) end key) &body body)

QURI.ERROR

  • Condition URI-ERROR  (ERROR)
  • Condition URI-MALFORMED-STRING  (URI-ERROR)
  • Condition URI-INVALID-PORT  (URI-MALFORMED-STRING)
  • Condition URL-DECODING-ERROR  (URI-ERROR)
  • Condition URI-MALFORMED-URLENCODED-STRING  (URI-ERROR)