Generic Function | Package: net.uri | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## uri-host

Arguments: uri-object

Returns the value of the `host` slot of uri-object. See `uri`.

uri-authority returns an object which combines the `host` and `port` values.

    cl-user(2): (setq u (net.uri:parse-uri "https://[::1%25en0]/foo.cl"))
    #<uri https://[::1%25en0]/foo.cl>
    cl-user(3): (net.uri:uri-ipv6 u)
    "::1"
    cl-user(4): (net.uri:uri-zone-id u)
    "en0"
    cl-user(5): (net.uri:uri-host u)
    "::1%en0"
    cl-user(6):

The value from net.uri:uri-host differs from the syntax used in the URI. The value from net.uri:uri-host is intended to be suitable for programs and APIs that require valid IPv6 addresses.

See also uri.htm for general information on Universal Resource Indicator support in Allegro CL.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version