We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8846319 commit 75ad697Copy full SHA for 75ad697
plotly/plotlystream.m
@@ -53,10 +53,17 @@
53
obj.Specs.Host = ['http://' obj.Specs.Host];
54
end
55
56
+
57
+ %specify handler
58
+ if obj.Specs.SSLEnabled
59
+ obj.Specs.Handler = sun.net.www.protocol.https.Handler;
60
+ else
61
+ obj.Specs.Handler = sun.net.www.protocol.http.Handler;
62
+ end
63
64
%initialize connection settings
65
obj.Specs.ReconnectOn = {'','200','408'};
66
obj.Specs.Timeout = 500;
- obj.Specs.Handler = sun.net.www.protocol.http.Handler;
67
obj.Specs.Chunklen = 14;
68
obj.Specs.Closed = true;
69
obj.Specs.ConnectAttempts = 0;
0 commit comments