Add ws_streaming_protocol and use v4 by default

To be sent in the Sec-WebSocket-Protocol http header by the ws_client.
This commit is contained in:
Jean Raby 2017-07-18 17:03:24 -04:00
parent 7f9231e9d0
commit a2ae2135ea

View File

@ -90,6 +90,9 @@ class ConfigurationObject(object):
# When set to `None`, will default to whatever urllib3 uses
self.connection_pool_maxsize = None
# WebSocket subprotocol to use for exec and portforward.
self.ws_streaming_protocol = "v4.channel.k8s.io"
@property
def logger_file(self):
"""