From: Cheng Zhao Date: Thu, 16 Jul 2015 22:17:45 +0000 (-0700) Subject: docs: Mention null session of RequestHttpJob X-Git-Tag: v0.30.1~20 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=8cf9df2d8d75960460d36714f8503768278e6911;p=electron.git docs: Mention null session of RequestHttpJob --- diff --git a/docs/api/protocol.md b/docs/api/protocol.md index ad863f4c..03e97961 100644 --- a/docs/api/protocol.md +++ b/docs/api/protocol.md @@ -110,7 +110,9 @@ Create a request job which sends a buffer as response. ## Class: protocol.RequestHttpJob(options) * `options` Object - * `session` [Session](browser-window.md#class-session) + * `session` [Session](browser-window.md#class-session) - By default it is + the app's default session, setting it to `null` will create a new session + for the requests * `url` String * `method` String - Default is `GET` * `referrer` String