MCPcopy Create free account
hub / github.com/ShouChenICU/FastSend / handleDataChannel

Method handleDataChannel

app/utils/PeerDataChannel.ts:67–70  ·  view source on GitHub ↗
(e: RTCDataChannelEvent)

Source from the content-addressed store, hash-verified

65 }
66
67 private handleDataChannel(e: RTCDataChannelEvent): void {
68 this.dc = e.channel
69 this.setupDataChannel()
70 }
71
72 private initializeDataChannel(): void {
73 this.dc = this.pc.createDataChannel('dc')

Callers

nothing calls this directly

Calls 1

setupDataChannelMethod · 0.95

Tested by

no test coverage detected