Skip to content

Commit 75830a3

Browse files
committed
added e2ee optional argument to create_session and documented
1 parent cd28a0b commit 75830a3

File tree

2 files changed

+175
-238
lines changed

2 files changed

+175
-238
lines changed

README.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Import the package at the top of any file where you will use it. At the very lea
4848
Creating Sessions
4949
~~~~~~~~~~~~~~~~~
5050

51-
To create an OpenTok Session, use the ``opentok.create_session()`` method. There are three optional
51+
To create an OpenTok Session, use the ``opentok.create_session()`` method. There are optional
5252
keyword parameters for this method:
5353

5454
* ``location`` which can be set to a string containing an IP address.
@@ -62,6 +62,8 @@ keyword parameters for this method:
6262
* ``archive_mode`` which specifies whether the session will be automatically archived (``always``)
6363
or not (``manual``).
6464

65+
* ``e2ee`` which is a boolean. This specifies whether to enable end-to-end encryption for the OpenTok session.
66+
6567
This method returns a ``Session`` object. Its ``session_id`` attribute is useful when saving to a persistent
6668
store (such as a database).
6769

0 commit comments

Comments
 (0)