|
@@ -316,6 +316,11 @@
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ "name": ".bufferSize",
|
|
|
|
+ "type": "number",
|
|
|
|
+ "description": "The number of messages queued to be sent once the browser buffer is no longer full."
|
|
|
|
+ },
|
|
{
|
|
{
|
|
"name": ".dataChannel",
|
|
"name": ".dataChannel",
|
|
"type": "object",
|
|
"type": "object",
|
|
@@ -330,21 +335,31 @@
|
|
"name": ".metadata",
|
|
"name": ".metadata",
|
|
"description": "Any type of metadata associated with the connection, passed in by whoever initiated the connection."
|
|
"description": "Any type of metadata associated with the connection, passed in by whoever initiated the connection."
|
|
},
|
|
},
|
|
- {
|
|
|
|
- "name": ".serialization",
|
|
|
|
- "type": "string",
|
|
|
|
- "description": "The serialization format of the data sent over the connection. Can be <code>binary</code> (default), <code>binary-utf8</code>, <code>json</code>, or <code>none</code>."
|
|
|
|
- },
|
|
|
|
{
|
|
{
|
|
"name": ".open",
|
|
"name": ".open",
|
|
"type": "boolean",
|
|
"type": "boolean",
|
|
"description": "This is true if the connection is open and ready for read/write."
|
|
"description": "This is true if the connection is open and ready for read/write."
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ "name": ".peerConnection",
|
|
|
|
+ "type": "object",
|
|
|
|
+ "description": "A reference to the RTCPeerConnection object associated with the connection."
|
|
|
|
+ },
|
|
{
|
|
{
|
|
"name": ".peer",
|
|
"name": ".peer",
|
|
"type": "string",
|
|
"type": "string",
|
|
"description": "The ID of the peer on the other end of this connection."
|
|
"description": "The ID of the peer on the other end of this connection."
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ "name": ".reliable",
|
|
|
|
+ "type": "boolean",
|
|
|
|
+ "description": "Whether the underlying data channels are reliable; defined when the connection was initiated."
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "name": ".serialization",
|
|
|
|
+ "type": "string",
|
|
|
|
+ "description": "The serialization format of the data sent over the connection. Can be <code>binary</code> (default), <code>binary-utf8</code>, <code>json</code>, or <code>none</code>."
|
|
|
|
+ },
|
|
{
|
|
{
|
|
"name": ".type",
|
|
"name": ".type",
|
|
"type": "string",
|
|
"type": "string",
|