mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-17 01:00:20 +02:00
(web uri): document that uri-port is an integer
* doc/ref/web.texi (URIs): * module/web/uri.scm (build-uri): Document that uri-port is an integer.
This commit is contained in:
parent
06883ae000
commit
890647559d
2 changed files with 12 additions and 10 deletions
|
@ -79,10 +79,11 @@
|
|||
|
||||
(define* (build-uri scheme #:key userinfo host port (path "") query fragment
|
||||
(validate? #t))
|
||||
"Construct a URI object. SCHEME should be a symbol, and the rest
|
||||
of the fields are either strings or ‘#f’. If VALIDATE? is
|
||||
true, also run some consistency checks to make sure that the constructed
|
||||
URI is valid."
|
||||
"Construct a URI object. SCHEME should be a symbol, PORT
|
||||
either a positive, exact integer or ‘#f’, and the rest of the
|
||||
fields are either strings or ‘#f’. If VALIDATE? is true,
|
||||
also run some consistency checks to make sure that the constructed URI
|
||||
is valid."
|
||||
(if validate?
|
||||
(validate-uri scheme userinfo host port path query fragment))
|
||||
(make-uri scheme userinfo host port path query fragment))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue