Fixing code review issues: adding a partition options and making the session option only takes Session objects.

This commit is contained in:
ali.ibrahim 2016-10-25 15:47:54 +02:00
parent 6d7f179a9b
commit b44d5290e2
4 changed files with 40 additions and 17 deletions

View file

@ -82,8 +82,12 @@ following properties:
method.
* `url` String (optional) - The request URL. Must be provided in the absolute
form with the protocol scheme specified as http or https.
* `session` String (optional) - The name of the [`Session`](session.md)
instance with which the request is associated. Defaults to the empty string.
* `session` Object (optional) - The [`Session`](session.md) instance with
which the request is associated.
* `partition` String (optional) - The name of the [`partition`](session.md)
with which the request is associated. Defaults to the empty string. The
`session` option prevails on `partition`. Thus if a `session` is explicitly
specified, `partition` is ignored.
* `protocol` String (optional) - The protocol scheme in the form 'scheme:'.
Currently supported values are 'http:' or 'https:'. Defaults to 'http:'.
* `host` String (optional) - The server host provided as a concatenation of