working datachannel and inital RPC test
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
|
||||
import { brotli } from "jsr:@deno-library/compress";
|
||||
|
||||
const superLog=true;
|
||||
|
||||
const memoryCache = true;
|
||||
const filepathResponseCache: Map<string, Response> = new Map();
|
||||
@@ -254,6 +255,8 @@ function connectWebsocket(request: Request) {
|
||||
return null;
|
||||
}
|
||||
|
||||
superLog && console.log(message);
|
||||
|
||||
const dispatchHandler = messageDispatch.get(message?.type)
|
||||
if (!dispatchHandler) {
|
||||
console.log("Got message I don't understand: ", event.data);
|
||||
|
||||
Reference in New Issue
Block a user