class type key =object
..end
key
is a user/password combination for a certain realmmethod user : string
method password : string
method realm : string
method domain : Neturl.url list
Normally, this is just a list with one element. The URI must include the protocol scheme, the host name, the port, and a path (at minimum "/"). The key is valid for all request URIs for which this domain string is a prefix of the request URI. Examples: "http://localhost:80/" would cover all of "localhost". "http://localhost:80/space/" would cover all URIs at this or below this URI. "https://localhost:443/" would cover all of "localhost" when accessed via TLS.
If the key is applicable to all domains, set this to [].
method credentials : (string * string * (string * string) list) list
Nethttp.HTTP_MECHANISM.init_credentials
for details.