MCPcopy Create free account
hub / github.com/cloudflare/meet / sendMessage

Method sendMessage

app/durableObjects/ChatRoom.server.ts:51–53  ·  view source on GitHub ↗
(connection: Connection, message: M)

Source from the content-addressed store, hash-verified

49
50 // a small typesafe wrapper around connection.send
51 sendMessage<M extends ServerMessage>(connection: Connection, message: M) {
52 connection.send(JSON.stringify(message))
53 }
54
55 async onStart(): Promise<void> {
56 const meetingId = await this.getMeetingId()

Callers 1

onMessageMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected