Changeset 12597 in project


Ignore:
Timestamp:
11/26/08 20:36:54 (11 years ago)
Author:
sjamaan
Message:

Update uri-generic docs to mention authority accessors and update procedures

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/uri-generic

    r12401 r12597  
    5555<procedure>(uri-username URI) => STRING</procedure>
    5656<procedure>(uri-password URI) => STRING</procedure>
     57<procedure>(authority? URI-AUTH) => BOOL</procedure>
     58<procedure>(authority-host URI-AUTH) => STRING</procedure>
     59<procedure>(authority-port URI-AUTH) => INTEGER</procedure>
     60<procedure>(authority-username URI-AUTH) => STRING</procedure>
     61<procedure>(authority-password URI-AUTH) => STRING</procedure>
    5762
    5863If a component is not defined in the given URI, then the corresponding
    5964accessor returns {{#f}}.
     65
     66<procedure>(update-uri URI #!key authority scheme path query fragment host port username password) => URI</procedure>
     67<procedure>(update-authority URI-AUTH #!key host port username password) => URI</procedure>
     68
     69Update the specified keys in the URI or URI-AUTH object in a
     70functional way (ie, it creates a new copy with the modifications).
     71
    6072
    6173==== String and List Representations
     
    6375<procedure>(uri->string URI USERINFO) => STRING</procedure>
    6476
    65 Reconstructs the give URI into a string; uses a supplied function
     77Reconstructs the given URI into a string; uses a supplied function
    6678{{LAMBDA USERNAME PASSWORD -> STRING}} to map the userinfo part of the
    6779URI
Note: See TracChangeset for help on using the changeset viewer.