Files
webrtc/rtcdatachannel.go
Sean DuBois 25544948a0 Messages are delievered to public API
MVP complete! Only implemented ondatachannel and onmessage but users can
now recieve datachannel messages
2018-07-21 12:27:38 -07:00

11 lines
298 B
Go

package webrtc
// RTCDataChannel represents a WebRTC DataChannel
// The RTCDataChannel interface represents a network channel
// which can be used for bidirectional peer-to-peer transfers of arbitrary data
type RTCDataChannel struct {
Onmessage func([]byte)
ID uint16
Label string
}