HomeGuidesAPI Reference
HubBlogChangelogSupport ForumLog In
API Reference

Web SDK - DataChannelEvents

Home > @rainway/web > DataChannelEvents

DataChannelEvents interface

Signature:

export interface DataChannelEvents 

Properties

PropertyTypeDescription
close() => void | Promise<void>Raised when the data channel is closed

Methods

MethodDescription
message(data)Raised when a message arrives via the data channel