interface Deno.CreateHttpClientOptions
The options used when creating a Deno.HttpClient.
optional
caCerts: string[]A list of root certificates that will be used in addition to the default root certificates to verify the peer's certificate.
Must be in PEM format.
optional
poolMaxIdlePerHost: numberSets the maximum number of idle connections per host allowed in the pool.
optional
poolIdleTimeout: number | falseSet an optional timeout for idle sockets being kept-alive. Set to false to disable the timeout.
optional
http1: boolean = trueWhether HTTP/1.1 is allowed or not.
optional
http2: boolean = trueWhether HTTP/2 is allowed or not.
optional
allowHost: boolean = falseWhether setting the host header is allowed or not.