Generic Function | Package: net.uri | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version