docs: document modernization initiative more clearly (#17376)

* docs: document modernization initiative more clearly
This commit is contained in:
Shelley Vohr 2019-03-19 10:31:45 -07:00 committed by GitHub
parent 53f4af7722
commit 879462af4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 102 additions and 34 deletions

View file

@ -101,7 +101,7 @@ The following methods are available on instances of `Session`:
Callback is invoked with the session's current cache size.
**[Deprecated Soon](promisification.md)**
**[Deprecated Soon](modernization/promisification.md)**
#### `ses.getCacheSize()`
@ -114,7 +114,7 @@ Returns `Promise<Integer>` - the session's current cache size, in bytes.
Clears the sessions HTTP cache.
**[Deprecated Soon](promisification.md)**
**[Deprecated Soon](modernization/promisification.md)**
#### `ses.clearCache()`
@ -136,7 +136,7 @@ Clears the sessions HTTP cache.
Clears the storage data for the current session.
**[Deprecated Soon](promisification.md)**
**[Deprecated Soon](modernization/promisification.md)**
#### `ses.clearStorageData([options])`
@ -231,7 +231,7 @@ The `proxyBypassRules` is a comma separated list of rules described below:
Match local addresses. The meaning of `<local>` is whether the
host matches one of: "127.0.0.1", "::1", "localhost".
**[Deprecated Soon](promisification.md)**
**[Deprecated Soon](modernization/promisification.md)**
#### `ses.setProxy(config)`
@ -319,7 +319,7 @@ The `proxyBypassRules` is a comma separated list of rules described below:
Resolves the proxy information for `url`. The `callback` will be called with
`callback(proxy)` when the request is performed.
**[Deprecated Soon](promisification.md)**
**[Deprecated Soon](modernization/promisification.md)**
#### `ses.resolveProxy(url)`
@ -463,7 +463,7 @@ session.fromPartition('some-partition').setPermissionCheckHandler((webContents,
Clears the host resolver cache.
**[Deprecated Soon](promisification.md)**
**[Deprecated Soon](modernization/promisification.md)**
#### `ses.clearHostResolverCache()`
@ -512,7 +512,7 @@ Returns `String` - The user agent for this session.
* `callback` Function
* `result` Buffer - Blob data.
**[Deprecated Soon](promisification.md)**
**[Deprecated Soon](modernization/promisification.md)**
#### `ses.getBlobData(identifier)`
@ -546,7 +546,7 @@ the initial state will be `interrupted`. The download will start only when the
Clears the sessions HTTP authentication cache.
**[Deprecated Soon](promisification.md)**
**[Deprecated Soon](modernization/promisification.md)**
#### `ses.clearAuthCache(options)`