We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0add192 commit 7216db4Copy full SHA for 7216db4
1 file changed
main/lib/webtransport.browser.js
@@ -227,6 +227,13 @@ export class WebTransportPolyfill {
227
return (this.datagramwritablepolyfilled_ ||= this.createWritable())
228
}
229
230
+ Object.defineProperties(this.datagrams, {
231
+ maxDatagramSize: {
232
+ get: () => {
233
+ return this.curtransport.datagrams.maxDatagramSize
234
+ }
235
236
+ })
237
// @ts-ignore
238
this.datagrams.readable = new ReadableStream({
239
// eslint-disable-next-line no-unused-vars
0 commit comments