The pentf configuration object.
URL to fetch.
Modify fetch options for a request authenticated with a client-side TLS certificate.
The fetch request option object to modify. (init
parameter in fetch above)
Name of the private key file in PEM format (e.g. beginning with -----BEGIN RSA PRIVATE KEY-----
)
Name of the certificate file in PEM format (beginning with -----BEGIN CERTIFICATE-----
)
to validate the server's certificate, false (=default) to accept invalid certificates as well.
Generated using TypeDoc
fetch a URL. Apart from the first parameter, this implements the Fetch API. (Using this method rather than another enables outputting of curl commands with
-c
and a couple of defaults suitable for pentf).