We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
id
wasm-bindgen/crates/web-sys/src/features/gen_RtcDataChannel.rs
Line 21 in b76af3b
I see label is here, could we also add the id property to RtcDataChannel ?
label
RtcDataChannel
https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/id
The text was updated successfully, but these errors were encountered:
Yes, this is quite straightforward to accomplish, see the wasm-bindgen Book on how to do just that. Let me know if you need any help.
wasm-bindgen
Sorry, something went wrong.
Excellent direction, thanks I'll do that. I take it since the id is between 0 and 65,534 would be an unsigned long?
0
65,534
unsigned long
readonly attribute unsigned long id;
I didn't see the definition for the difference between unsigned long and unsigned short anywhere
unsigned short
I figured out that unsigned short compiles to u16 which is the 65,534 we need
u16
Successfully merging a pull request may close this issue.
wasm-bindgen/crates/web-sys/src/features/gen_RtcDataChannel.rs
Line 21 in b76af3b
I see
label
is here, could we also add theid
property toRtcDataChannel
?https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/id
The text was updated successfully, but these errors were encountered: