Comparing version 5.0.0 to 5.0.1
@@ -13,3 +13,3 @@ # JavaScript Client API Reference [![Slack](https://slack.minio.io/slack?type=svg)](https://slack.minio.io) | ||
port: 9000, | ||
secure: true, | ||
secure: true, | ||
accessKey: 'Q3AM3UQ867SPQQA43P2F', | ||
@@ -27,4 +27,4 @@ secretKey: 'zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG' | ||
endPoint: 's3.amazonaws.com', | ||
accessKey: 'YOUR-ACCESSKEYID', | ||
secretKey: 'YOUR-SECRETACCESSKEY' | ||
accessKey: 'YOUR-ACCESSKEYID', | ||
secretKey: 'YOUR-SECRETACCESSKEY' | ||
}) | ||
@@ -996,6 +996,16 @@ ``` | ||
## 6. HTTP request options | ||
### setRequestOptions(options) | ||
## 6. Explore Further | ||
Set the HTTP/HTTPS request options. Supported options are `agent` ([http.Agent()](https://nodejs.org/api/http.html#http_class_http_agent)) and tls related options ('agent', 'ca', 'cert', 'ciphers', 'clientCertEngine', 'crl', 'dhparam', 'ecdhCurve', 'honorCipherOrder', 'key', 'passphrase', 'pfx', 'rejectUnauthorized', 'secureOptions', 'secureProtocol', 'servername', 'sessionIdContext') documented [here](https://nodejs.org/api/tls.html#tls_tls_createsecurecontext_options) | ||
```js | ||
// Do not reject self signed certificates. | ||
minioClient.setRequestOptions({rejectUnauthorized: false}) | ||
``` | ||
## 7. Explore Further | ||
- [Build your own Shopping App Example](https://docs.minio.io/docs/javascript-shopping-app) |
{ | ||
"name": "minio", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "S3 Compatible Cloud Storage client", | ||
@@ -5,0 +5,0 @@ "main": "./dist/main/minio.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
541809
4900