class type key =object..end
key is a user/password combination for a certain realmmethod user : stringmethod password : stringmethod realm : stringmethod domain : Neturl.url listNormally, 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) listNethttp.HTTP_MECHANISM.init_credentials
for details.