File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ class Client {
36
36
37
37
config = {
38
38
endpoint: '{{ spec .endpoint }}',
39
- endpointRealtime: '',
40
39
selfSigned: false,
41
40
{%~ for header in spec .global .headers %}
42
41
{{ header .key | caseLower }}: '',
@@ -64,20 +63,6 @@ class Client {
64
63
*/
65
64
setEndpoint(endpoint: string): this {
66
65
this.config.endpoint = endpoint;
67
- this.config.endpointRealtime = this.config.endpointRealtime || this.config.endpoint.replace('https://', 'wss://').replace('http://', 'ws://');
68
-
69
- return this;
70
- }
71
-
72
- /**
73
- * Set Realtime Endpoint
74
- *
75
- * @param {string} endpointRealtime
76
- *
77
- * @returns {this}
78
- */
79
- setEndpointRealtime(endpointRealtime: string): this {
80
- this.config.endpointRealtime = endpointRealtime;
81
66
82
67
return this;
83
68
}
You can’t perform that action at this time.
0 commit comments