Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tldraw/tldraw
/ server.ts
File
server.ts
templates/socketio-server-example/src/server/server.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ createServer } from
'http'
2
import
{ WebSocketMinimal } from
'@tldraw/sync-core'
3
import
express from
'express'
4
import
{ Server } from
'socket.io'
Callers
nothing calls this directly
Calls
15
makeOrLoadRoom
Function · 0.90
storeAsset
Function · 0.90
loadAsset
Function · 0.90
unfurl
Function · 0.90
next
Function · 0.85
on
Method · 0.80
disconnect
Method · 0.80
parse
Method · 0.80
handleSocketConnect
Method · 0.80
listen
Method · 0.80
json
Method · 0.65
log
Method · 0.65
Tested by
no test coverage detected