document processes for APIs nested in parent docs

This commit is contained in:
Zeke Sikelianos 2016-11-03 11:50:00 -07:00
Родитель ac68de6215
Коммит 21105271a4
5 изменённых файлов: 18 добавлений и 0 удалений

Просмотреть файл

@ -157,6 +157,8 @@ Creates a new `NativeImage` instance from `dataURL`.
> Natively wrap images such as tray, dock, and application icons.
Process: [Main](../tutorial/quick-start.md#main-process), [Renderer](../tutorial/quick-start.md#renderer-process)
### Instance Methods
The following methods are available on instances of the `NativeImage` class:

Просмотреть файл

@ -74,6 +74,8 @@ specified protocol scheme in the `options` object.
> Make HTTP/HTTPS requests.
Process: [Main](../tutorial/quick-start.md#main-process)
`ClientRequest` implements the [Writable Stream](https://nodejs.org/api/stream.html#stream_writable_streams)
interface and is therefore an [EventEmitter](https://nodejs.org/api/events.html#events_class_eventemitter).
@ -266,6 +268,8 @@ response object,it will emit the `aborted` event.
> Handle responses to HTTP/HTTPS requests.
Process: [Main](../tutorial/quick-start.md#main-process)
`IncomingMessage` implements the [Readable Stream](https://nodejs.org/api/stream.html#stream_readable_streams)
interface and is therefore an [EventEmitter](https://nodejs.org/api/events.html#events_class_eventemitter).

Просмотреть файл

@ -54,6 +54,8 @@ A `Session` object, the default session object of the app.
> Get and set properties of a session.
Process: [Main](../tutorial/quick-start.md#main-process)
You can create a `Session` object in the `session` module:
```javascript
@ -377,6 +379,8 @@ app.on('ready', function () {
> Query and modify a session's cookies.
Process: [Main](../tutorial/quick-start.md#main-process)
Instances of the `Cookies` class are accessed by using `cookies` property of
a `Session`.
@ -482,6 +486,8 @@ Removes the cookies matching `url` and `name`, `callback` will called with
> Intercept and modify the contents of a request at various stages of its lifetime.
Process: [Main](../tutorial/quick-start.md#main-process)
Instances of the `WebRequest` class are accessed by using the `webRequest`
property of a `Session`.

Просмотреть файл

@ -49,6 +49,8 @@ Returns `WebContents` - A WebContents instance with the given ID.
> Render and control the contents of a BrowserWindow instance.
Process: [Main](../tutorial/quick-start.md#main-process)
### Instance Events
#### Event: 'did-finish-load'
@ -1174,6 +1176,8 @@ A Debugger instance for this webContents.
> An alternate transport for Chrome's remote debugging protocol.
Process: [Main](../tutorial/quick-start.md#main-process)
Chrome Developer Tools has a [special binding][rdp] available at JavaScript
runtime that allows interacting with pages and instrumenting them.

Просмотреть файл

@ -45,6 +45,8 @@ origin preference.
> Manipulate the child browser window
Process: [Renderer](../tutorial/quick-start.md#renderer-process)
The `BrowserWindowProxy` object is returned from `window.open` and provides
limited functionality with the child window.