MCPcopy Create free account
hub / github.com/witheve/Eve / getUrl

Method getUrl

src/client.ts:160–166  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

158 }
159
160 getUrl() {
161 let protocol = "ws://";
162 if(location.protocol.indexOf("https") > -1) {
163 protocol = "wss://";
164 }
165 return protocol + window.location.host +"/ws";
166 }
167
168 socketSend(message:string) {
169 if(this.socket && this.socket.readyState === 1) {

Callers 1

constructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected