Correction to the small correction

This commit is contained in:
Eli Barzilay 2011-06-20 16:45:33 -04:00
parent f08ce64e07
commit 8990177c75

View File

@ -365,15 +365,19 @@ as described with @racket[get-pure-port].}
@defthing[url@ unit?]{ @defthing[url@ unit?]{
Imports @scheme[tcp^], exports @scheme[url+scheme^]. Imports @racket[tcp^], exports @racket[url+scheme^].
The @racket[current-connect-scheme] parameter is set to the scheme of The @racket[url+scheme^] signature contains
a URL when @racket[tcp-connect] is called to create a connection. A @racket[current-connect-scheme], which @racket[url@] binds to a
parameter. The parameter is set to the scheme of a URL when
@racket[tcp-connect] is called to create a connection. A
@racket[tcp-connect] variant linked to @racket[url@] can check this @racket[tcp-connect] variant linked to @racket[url@] can check this
parameter to choose the connection mode; in particular, parameter to choose the connection mode; in particular, @racket[net/url]
@racket[net/url] supplies a @racket[tcp-connect] that actually uses supplies a @racket[tcp-connect] that actually uses @racket[ssl-connect]
@racket[ssl-connect] when @racket[(current-connect-scheme)] produces when @racket[(current-connect-scheme)] produces @racket["https"].
@racket["https"].}
Note that @racket[net/url] does not provide the
@racket[current-connect-scheme] parameter.}
@; ---------------------------------------- @; ----------------------------------------
@ -384,8 +388,9 @@ parameter to choose the connection mode; in particular,
@defsignature[url^ ()]{ @defsignature[url^ ()]{
Includes everything exported by the @schememodname[net/url] module Includes everything exported by the @schememodname[net/url] module
except @racket[current-connect-scheme] and except @racket[current-https-protocol]. Note that the exports of
@racket[current-https-protocol].} @schememodname[net/url] and the @racket[url^] signature do not include
@racket[current-connect-scheme].}
@defsignature[url+scheme^ (url^)]{ @defsignature[url+scheme^ (url^)]{