blob: 1e3c63b363c0ae20aa6faeb44d22baca9b97087c (
plain)
1
2
3
4
5
6
7
8
9
10
|
package webrtc
// DataChannelMessage represents a message received from the
// data channel. IsString will be set to true if the incoming
// message is of the string type. Otherwise the message is of
// a binary type.
type DataChannelMessage struct {
IsString bool
Data []byte
}
|