@fails-components/webtransport 0.1.3 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CMakeLists.txt +52 -109
- package/dist/lib/dom.d.ts +6 -0
- package/dist/lib/dom.d.ts.map +1 -1
- package/dist/lib/event-loop.d.ts +8 -3
- package/dist/lib/event-loop.d.ts.map +1 -1
- package/dist/lib/server.d.ts +3 -2
- package/dist/lib/server.d.ts.map +1 -1
- package/dist/lib/session.d.ts +66 -16
- package/dist/lib/session.d.ts.map +1 -1
- package/dist/lib/stream.d.ts +5 -5
- package/dist/lib/stream.d.ts.map +1 -1
- package/dist/lib/transport.d.ts.map +1 -1
- package/dist/lib/types.d.ts.map +1 -1
- package/dist/lib/webtransport.d.ts +22 -0
- package/dist/lib/webtransport.d.ts.map +1 -1
- package/lib/dom.ts +7 -2
- package/lib/event-loop.js +13 -7
- package/lib/server.js +1 -1
- package/lib/session.js +51 -20
- package/lib/stream.js +26 -5
- package/lib/transport.js +3 -1
- package/lib/types.ts +1 -0
- package/lib/webtransport.js +31 -0
- package/package.json +2 -2
- package/platform/quiche/quic/core/io/socket_win.inc +3 -0
- package/platform/quiche_platform_impl/quiche_command_line_flags_impl.h +7 -0
- package/platform/quiche_platform_impl/quiche_export_impl.h +3 -9
- package/platform/quiche_platform_impl/quiche_server_stats_impl.h +1 -22
- package/platform/quiche_platform_impl/quiche_stream_buffer_allocator_impl.h +1 -4
- package/platform/quiche_platform_impl/quiche_time_utils_impl.h +1 -13
- package/platform/quiche_platform_impl/quiche_udp_socket_platform_impl.h +9 -0
- package/readme.md +3 -1
- package/src/http3client.cc +13 -29
- package/src/http3client.h +2 -6
- package/src/http3clientsession.cc +3 -1
- package/src/http3clientsession.h +9 -0
- package/src/http3clientstream.cc +17 -0
- package/src/http3clientstream.h +10 -0
- package/src/http3eventloop.cc +42 -55
- package/src/http3eventloop.h +2 -5
- package/src/http3serversession.cc +1 -136
- package/src/http3serversession.h +1 -72
- package/src/http3serverstream.cc +0 -49
- package/src/http3serverstream.h +0 -5
- package/src/http3wtsessionvisitor.cc +1 -1
- package/src/http3wtsessionvisitor.h +5 -37
- package/src/http3wtstreamvisitor.cc +2 -2
- package/test/bidirectional-streams.spec.js +1 -0
- package/test/datagrams.spec.js +1 -0
- package/test/unidirectional-streams.spec.js +1 -0
- package/platform/net/quiche/common/platform/impl/quiche_flags_impl.h +0 -12
- package/platform/poll.h +0 -2
- package/platform/quiche/quic/core/io/quic_poll_event_loop.h +0 -8
- package/platform/quiche_platform_impl/quic_testvalue_impl.h +0 -19
- package/platform/quiche_platform_impl/quic_udp_socket_winsock.cc +0 -732
- package/platform/quiche_platform_impl/quiche_time_utils_impl.cc +0 -43
- package/platform/quiche_platform_impl/socket_winsock.cc +0 -535
package/CMakeLists.txt
CHANGED
|
@@ -74,95 +74,9 @@ endif(COMMAND cmake_policy)
|
|
|
74
74
|
add_compile_definitions(QUICHE_ENABLE_LIBEVENT)
|
|
75
75
|
|
|
76
76
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
third_party/icu/icu4c/source/common/bytestream.cpp
|
|
81
|
-
third_party/icu/icu4c/source/common/bytesinkutil.cpp
|
|
82
|
-
third_party/icu/icu4c/source/common/bytestrie.cpp
|
|
83
|
-
third_party/icu/icu4c/source/common/bmpset.cpp
|
|
84
|
-
third_party/icu/icu4c/source/common/charstr.cpp
|
|
85
|
-
third_party/icu/icu4c/source/common/cmemory.cpp
|
|
86
|
-
third_party/icu/icu4c/source/common/cstring.cpp
|
|
87
|
-
third_party/icu/icu4c/source/common/edits.cpp
|
|
88
|
-
third_party/icu/icu4c/source/common/locavailable.cpp
|
|
89
|
-
third_party/icu/icu4c/source/common/localebuilder.cpp
|
|
90
|
-
third_party/icu/icu4c/source/common/locid.cpp
|
|
91
|
-
third_party/icu/icu4c/source/common/locmap.cpp
|
|
92
|
-
third_party/icu/icu4c/source/common/loclikely.cpp
|
|
93
|
-
third_party/icu/icu4c/source/common/loadednormalizer2impl.cpp
|
|
94
|
-
third_party/icu/icu4c/source/common/normalizer2.cpp
|
|
95
|
-
third_party/icu/icu4c/source/common/normalizer2impl.cpp
|
|
96
|
-
third_party/icu/icu4c/source/common/patternprops.cpp
|
|
97
|
-
third_party/icu/icu4c/source/common/propname.cpp
|
|
98
|
-
third_party/icu/icu4c/source/common/punycode.cpp
|
|
99
|
-
third_party/icu/icu4c/source/common/resource.cpp
|
|
100
|
-
third_party/icu/icu4c/source/common/stringpiece.cpp
|
|
101
|
-
third_party/icu/icu4c/source/common/uarrsort.cpp
|
|
102
|
-
third_party/icu/icu4c/source/common/ubidi_props.cpp
|
|
103
|
-
third_party/icu/icu4c/source/common/uchar.cpp
|
|
104
|
-
third_party/icu/icu4c/source/common/ucmndata.cpp
|
|
105
|
-
third_party/icu/icu4c/source/common/ucln_cmn.cpp
|
|
106
|
-
third_party/icu/icu4c/source/common/ucptrie.cpp
|
|
107
|
-
third_party/icu/icu4c/source/common/ucol_swp.cpp
|
|
108
|
-
third_party/icu/icu4c/source/common/udata.cpp
|
|
109
|
-
third_party/icu/icu4c/source/common/udatamem.cpp
|
|
110
|
-
third_party/icu/icu4c/source/common/udataswp.cpp
|
|
111
|
-
third_party/icu/icu4c/source/common/uenum.cpp
|
|
112
|
-
third_party/icu/icu4c/source/common/uhash.cpp
|
|
113
|
-
third_party/icu/icu4c/source/common/uloc.cpp
|
|
114
|
-
third_party/icu/icu4c/source/common/uloc_tag.cpp
|
|
115
|
-
third_party/icu/icu4c/source/common/uloc_keytype.cpp
|
|
116
|
-
third_party/icu/icu4c/source/common/umapfile.cpp
|
|
117
|
-
third_party/icu/icu4c/source/common/umath.cpp
|
|
118
|
-
third_party/icu/icu4c/source/common/umutablecptrie.cpp
|
|
119
|
-
third_party/icu/icu4c/source/common/umutex.cpp
|
|
120
|
-
third_party/icu/icu4c/source/common/unistr.cpp
|
|
121
|
-
third_party/icu/icu4c/source/common/unifilt.cpp
|
|
122
|
-
third_party/icu/icu4c/source/common/unifunct.cpp
|
|
123
|
-
third_party/icu/icu4c/source/common/unisetspan.cpp
|
|
124
|
-
third_party/icu/icu4c/source/common/ustring.cpp
|
|
125
|
-
third_party/icu/icu4c/source/common/ustrtrns.cpp
|
|
126
|
-
third_party/icu/icu4c/source/common/ustrenum.cpp
|
|
127
|
-
third_party/icu/icu4c/source/common/uscript_props.cpp
|
|
128
|
-
third_party/icu/icu4c/source/common/util.cpp
|
|
129
|
-
third_party/icu/icu4c/source/common/uts46.cpp
|
|
130
|
-
third_party/icu/icu4c/source/common/uobject.cpp
|
|
131
|
-
third_party/icu/icu4c/source/common/uinvchar.cpp
|
|
132
|
-
third_party/icu/icu4c/source/common/uresbund.cpp
|
|
133
|
-
third_party/icu/icu4c/source/common/uresdata.cpp
|
|
134
|
-
third_party/icu/icu4c/source/common/uniset.cpp
|
|
135
|
-
third_party/icu/icu4c/source/common/utf_impl.cpp
|
|
136
|
-
third_party/icu/icu4c/source/common/utrace.cpp
|
|
137
|
-
third_party/icu/icu4c/source/common/utrie2.cpp
|
|
138
|
-
third_party/icu/icu4c/source/common/utrie_swap.cpp
|
|
139
|
-
third_party/icu/icu4c/source/common/utypes.cpp
|
|
140
|
-
third_party/icu/icu4c/source/common/uvector.cpp
|
|
141
|
-
third_party/icu/icu4c/source/common/putil.cpp
|
|
142
|
-
)
|
|
143
|
-
target_include_directories(icu
|
|
144
|
-
PUBLIC third_party/icu/icu4c/source/common
|
|
145
|
-
)
|
|
146
|
-
if (WIN32)
|
|
147
|
-
target_sources(icu PRIVATE
|
|
148
|
-
third_party/icu/icu4c/source/common/wintz.cpp
|
|
149
|
-
)
|
|
150
|
-
target_compile_definitions(icu PRIVATE
|
|
151
|
-
#hack since this function is not currently used
|
|
152
|
-
ICU_DATA_DIR_WINDOWS=""
|
|
153
|
-
)
|
|
154
|
-
else()
|
|
155
|
-
# fix data problem
|
|
156
|
-
target_sources(icu PRIVATE
|
|
157
|
-
platform/icufix/fakedata.cpp
|
|
158
|
-
)
|
|
159
|
-
endif()
|
|
160
|
-
|
|
161
|
-
target_compile_definitions(icu
|
|
162
|
-
PRIVATE U_DEFINE_FALSE_AND_TRUE=1
|
|
163
|
-
U_STATIC_IMPLEMENTATION
|
|
164
|
-
U_COMMON_IMPLEMENTATION
|
|
165
|
-
)
|
|
77
|
+
IF( NOT (WIN32 OR APPLE))
|
|
78
|
+
find_package(ICU COMPONENTS uc i18n REQUIRED)
|
|
79
|
+
ENDIF(NOT (WIN32 OR APPLE))
|
|
166
80
|
|
|
167
81
|
add_library(gquiche STATIC
|
|
168
82
|
#plattform impl
|
|
@@ -177,8 +91,6 @@ platform/quiche_platform_impl/quiche_mutex_impl.h
|
|
|
177
91
|
platform/quiche_platform_impl/quiche_stack_trace_impl.h
|
|
178
92
|
platform/quiche_platform_impl/quiche_stream_buffer_allocator_impl.h
|
|
179
93
|
platform/quiche_platform_impl/quiche_time_utils_impl.h
|
|
180
|
-
platform/quiche_platform_impl/quiche_time_utils_impl.cc
|
|
181
|
-
platform/quiche_platform_impl/quic_testvalue_impl.h
|
|
182
94
|
platform/quiche_platform_impl/quiche_udp_socket_platform_impl.h
|
|
183
95
|
platform/quiche_platform_impl/quiche_prefetch_impl.h
|
|
184
96
|
platform/quiche_platform_impl/quiche_server_stats_impl.h
|
|
@@ -232,12 +144,13 @@ third_party/googleurl/url/gurl.cc
|
|
|
232
144
|
third_party/googleurl/url/gurl.h
|
|
233
145
|
third_party/googleurl/url/third_party/mozilla/url_parse.cc
|
|
234
146
|
third_party/googleurl/url/third_party/mozilla/url_parse.h
|
|
235
|
-
third_party/googleurl/url/url_idna_icu.cc
|
|
236
147
|
third_party/googleurl/base/strings/utf_string_conversion_utils.cc
|
|
237
148
|
third_party/googleurl/base/strings/utf_string_conversion_utils.h
|
|
238
149
|
third_party/googleurl/build/buildflag.h
|
|
239
150
|
third_party/googleurl/build/build_config.h
|
|
240
151
|
# normal files
|
|
152
|
+
third_party/quiche/quiche/common/capsule.cc
|
|
153
|
+
third_party/quiche/quiche/common/capsule.h
|
|
241
154
|
third_party/quiche/quiche/common/platform/api/quiche_bug_tracker.h
|
|
242
155
|
third_party/quiche/quiche/common/platform/api/quiche_export.h
|
|
243
156
|
third_party/quiche/quiche/common/platform/api/quiche_flag_utils.h
|
|
@@ -251,19 +164,22 @@ third_party/quiche/quiche/common/platform/api/quiche_mutex.cc
|
|
|
251
164
|
third_party/quiche/quiche/common/platform/api/quiche_mutex.h
|
|
252
165
|
third_party/quiche/quiche/common/platform/api/quiche_prefetch.h
|
|
253
166
|
third_party/quiche/quiche/common/platform/api/quiche_reference_counted.h
|
|
254
|
-
third_party/quiche/quiche/common/platform/api/quiche_thread_local.h
|
|
255
167
|
third_party/quiche/quiche/common/platform/api/quiche_time_utils.h
|
|
256
168
|
third_party/quiche/quiche/common/platform/api/quiche_url_utils.h
|
|
169
|
+
third_party/quiche/quiche/common/platform/default/quiche_platform_impl/quiche_command_line_flags_impl.cc
|
|
170
|
+
third_party/quiche/quiche/common/platform/default/quiche_platform_impl/quiche_command_line_flags_impl.h
|
|
257
171
|
third_party/quiche/quiche/common/platform/default/quiche_platform_impl/quiche_flag_utils_impl.h
|
|
258
172
|
third_party/quiche/quiche/common/platform/default/quiche_platform_impl/quiche_flags_impl.h
|
|
259
173
|
third_party/quiche/quiche/common/platform/default/quiche_platform_impl/quiche_flags_impl.cc
|
|
260
174
|
third_party/quiche/quiche/common/platform/default/quiche_platform_impl/quiche_prefetch_impl.h
|
|
175
|
+
third_party/quiche/quiche/common/platform/default/quiche_platform_impl/quiche_logging_impl.cc
|
|
261
176
|
third_party/quiche/quiche/common/platform/default/quiche_platform_impl/quiche_logging_impl.h
|
|
262
177
|
third_party/quiche/quiche/common/platform/default/quiche_platform_impl/quiche_mutex_impl.cc
|
|
263
178
|
third_party/quiche/quiche/common/platform/default/quiche_platform_impl/quiche_mutex_impl.h
|
|
264
179
|
third_party/quiche/quiche/common/platform/default/quiche_platform_impl/quiche_stack_trace_impl.cc
|
|
265
180
|
third_party/quiche/quiche/common/platform/default/quiche_platform_impl/quiche_stack_trace_impl.h
|
|
266
181
|
third_party/quiche/quiche/common/platform/default/quiche_platform_impl/quiche_iovec_impl.h
|
|
182
|
+
third_party/quiche/quiche/common/platform/default/quiche_platform_impl/quiche_time_utils_impl.cc
|
|
267
183
|
third_party/quiche/quiche/common/print_elements.h
|
|
268
184
|
third_party/quiche/quiche/common/quiche_buffer_allocator.cc
|
|
269
185
|
third_party/quiche/quiche/common/quiche_buffer_allocator.h
|
|
@@ -314,7 +230,6 @@ third_party/quiche/quiche/http2/adapter/window_manager.h
|
|
|
314
230
|
third_party/quiche/quiche/http2/core/http2_trace_logging.cc
|
|
315
231
|
third_party/quiche/quiche/http2/core/http2_trace_logging.h
|
|
316
232
|
third_party/quiche/quiche/http2/core/priority_write_scheduler.h
|
|
317
|
-
third_party/quiche/quiche/http2/core/write_scheduler.h
|
|
318
233
|
third_party/quiche/quiche/http2/decoder/decode_buffer.cc
|
|
319
234
|
third_party/quiche/quiche/http2/decoder/decode_buffer.h
|
|
320
235
|
third_party/quiche/quiche/http2/decoder/decode_http2_structures.cc
|
|
@@ -588,8 +503,6 @@ third_party/quiche/quiche/quic/core/frames/quic_streams_blocked_frame.h
|
|
|
588
503
|
third_party/quiche/quiche/quic/core/frames/quic_window_update_frame.cc
|
|
589
504
|
third_party/quiche/quiche/quic/core/frames/quic_window_update_frame.h
|
|
590
505
|
third_party/quiche/quiche/quic/core/handshaker_delegate_interface.h
|
|
591
|
-
third_party/quiche/quiche/quic/core/http/capsule.cc
|
|
592
|
-
third_party/quiche/quiche/quic/core/http/capsule.h
|
|
593
506
|
third_party/quiche/quiche/quic/core/http/http_constants.cc
|
|
594
507
|
third_party/quiche/quiche/quic/core/http/http_constants.h
|
|
595
508
|
third_party/quiche/quiche/quic/core/http/http_decoder.cc
|
|
@@ -638,7 +551,13 @@ third_party/quiche/quiche/quic/core/http/web_transport_stream_adapter.h
|
|
|
638
551
|
third_party/quiche/quiche/quic/core/io/quic_event_loop.h
|
|
639
552
|
third_party/quiche/quiche/quic/core/io/quic_default_event_loop.cc
|
|
640
553
|
third_party/quiche/quiche/quic/core/io/quic_default_event_loop.h
|
|
554
|
+
third_party/quiche/quiche/quic/core/io/quic_poll_event_loop.cc
|
|
555
|
+
third_party/quiche/quiche/quic/core/io/quic_poll_event_loop.h
|
|
641
556
|
third_party/quiche/quiche/quic/core/io/socket.h
|
|
557
|
+
third_party/quiche/quiche/quic/core/io/socket.cc
|
|
558
|
+
third_party/quiche/quiche/quic/core/io/socket_posix.inc
|
|
559
|
+
third_party/quiche/quiche/quic/core/io/socket_win.inc
|
|
560
|
+
third_party/quiche/quiche/quic/core/io/socket_internal.h
|
|
642
561
|
third_party/quiche/quiche/quic/core/legacy_quic_stream_id_manager.cc
|
|
643
562
|
third_party/quiche/quiche/quic/core/legacy_quic_stream_id_manager.h
|
|
644
563
|
third_party/quiche/quiche/quic/core/packet_number_indexed_queue.h
|
|
@@ -698,7 +617,6 @@ third_party/quiche/quiche/quic/core/quic_buffered_packet_store.cc
|
|
|
698
617
|
third_party/quiche/quiche/quic/core/quic_buffered_packet_store.h
|
|
699
618
|
third_party/quiche/quiche/quic/core/quic_chaos_protector.cc
|
|
700
619
|
third_party/quiche/quiche/quic/core/quic_chaos_protector.h
|
|
701
|
-
third_party/quiche/quiche/quic/core/quic_clock.cc
|
|
702
620
|
third_party/quiche/quiche/quic/core/quic_clock.h
|
|
703
621
|
third_party/quiche/quiche/quic/core/quic_coalesced_packet.cc
|
|
704
622
|
third_party/quiche/quiche/quic/core/quic_coalesced_packet.h
|
|
@@ -813,6 +731,9 @@ third_party/quiche/quiche/quic/core/quic_types.cc
|
|
|
813
731
|
third_party/quiche/quiche/quic/core/quic_types.h
|
|
814
732
|
third_party/quiche/quiche/quic/core/quic_unacked_packet_map.cc
|
|
815
733
|
third_party/quiche/quiche/quic/core/quic_unacked_packet_map.h
|
|
734
|
+
third_party/quiche/quiche/quic/core/quic_udp_socket.cc
|
|
735
|
+
third_party/quiche/quiche/quic/core/quic_udp_socket_win.inc
|
|
736
|
+
third_party/quiche/quiche/quic/core/quic_udp_socket_posix.inc
|
|
816
737
|
third_party/quiche/quiche/quic/core/quic_udp_socket.h
|
|
817
738
|
third_party/quiche/quiche/quic/core/quic_utils.cc
|
|
818
739
|
third_party/quiche/quiche/quic/core/quic_utils.h
|
|
@@ -837,7 +758,6 @@ third_party/quiche/quiche/quic/core/uber_quic_stream_id_manager.cc
|
|
|
837
758
|
third_party/quiche/quiche/quic/core/uber_quic_stream_id_manager.h
|
|
838
759
|
third_party/quiche/quiche/quic/core/uber_received_packet_manager.cc
|
|
839
760
|
third_party/quiche/quiche/quic/core/uber_received_packet_manager.h
|
|
840
|
-
third_party/quiche/quiche/quic/core/quic_udp_socket.h
|
|
841
761
|
third_party/quiche/quiche/quic/platform/api/quic_bug_tracker.h
|
|
842
762
|
third_party/quiche/quiche/quic/platform/api/quic_client_stats.h
|
|
843
763
|
third_party/quiche/quiche/quic/platform/api/quic_export.h
|
|
@@ -901,21 +821,28 @@ third_party/quiche/quiche/spdy/core/spdy_simple_arena.h
|
|
|
901
821
|
third_party/quiche/quiche/spdy/core/zero_copy_output_buffer.h
|
|
902
822
|
)
|
|
903
823
|
|
|
824
|
+
IF(APPLE OR WIN32)
|
|
825
|
+
target_sources(gquiche PRIVATE third_party/googleurl/url/url_idna_ascii_only.cc)
|
|
826
|
+
ELSE()
|
|
827
|
+
target_sources(gquiche PRIVATE third_party/googleurl/url/url_idna_icu.cc)
|
|
828
|
+
ENDIF()
|
|
829
|
+
|
|
904
830
|
FILE(TO_NATIVE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/third_party/quiche PROTOMODEL_PATH)
|
|
905
831
|
FILE(TO_NATIVE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/third_party/quiche PROTOBINDING_PATH)
|
|
906
832
|
|
|
907
833
|
IF (WIN32)
|
|
908
834
|
target_sources(gquiche PRIVATE third_party/googleurl/base/strings/string_util_win.cc
|
|
909
|
-
third_party/googleurl/base/strings/string_util_win.h
|
|
910
|
-
|
|
911
|
-
|
|
835
|
+
third_party/googleurl/base/strings/string_util_win.h)
|
|
836
|
+
|
|
837
|
+
target_compile_definitions(crypto PRIVATE strdup=_strdup)
|
|
838
|
+
target_compile_definitions(gquiche PRIVATE _WINSOCK_DEPRECATED_NO_WARNINGS)
|
|
912
839
|
ELSE(WIN32)
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
)
|
|
840
|
+
IF(APPLE)
|
|
841
|
+
ELSE(APPLE)
|
|
842
|
+
target_link_libraries(gquiche -static-libgcc -static-libstdc++)
|
|
843
|
+
ENDIF(APPLE)
|
|
916
844
|
ENDIF(WIN32)
|
|
917
845
|
|
|
918
|
-
target_compile_options(gquiche PRIVATE -flax-vector-conversions)
|
|
919
846
|
|
|
920
847
|
|
|
921
848
|
add_custom_command(
|
|
@@ -981,11 +908,20 @@ PUBLIC ${CMAKE_CURRENT_BINARY_DIR}
|
|
|
981
908
|
PUBLIC ${CMAKE_JS_INC}
|
|
982
909
|
)
|
|
983
910
|
|
|
984
|
-
|
|
985
|
-
|
|
911
|
+
target_include_directories(crypto PUBLIC
|
|
912
|
+
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/third_party/boringssl/src/include>
|
|
913
|
+
)
|
|
986
914
|
|
|
987
915
|
target_link_libraries(gquiche
|
|
988
|
-
absl::
|
|
916
|
+
absl::core_headers
|
|
917
|
+
absl::log_severity
|
|
918
|
+
absl::flags
|
|
919
|
+
absl::flags_usage
|
|
920
|
+
absl::flags_parse
|
|
921
|
+
absl::absl_check
|
|
922
|
+
absl::absl_log
|
|
923
|
+
absl::log_flags
|
|
924
|
+
absl::log_initialize
|
|
989
925
|
absl::int128
|
|
990
926
|
absl::strings
|
|
991
927
|
absl::str_format
|
|
@@ -1012,7 +948,6 @@ if(MSVC AND CMAKE_JS_NODELIB_DEF AND CMAKE_JS_NODELIB_TARGET)
|
|
|
1012
948
|
endif()
|
|
1013
949
|
|
|
1014
950
|
|
|
1015
|
-
target_link_libraries(gquiche icu)
|
|
1016
951
|
|
|
1017
952
|
|
|
1018
953
|
# google quiche build parameters end
|
|
@@ -1027,6 +962,14 @@ PUBLIC third_party/boringssl/src/include
|
|
|
1027
962
|
PUBLIC ${CMAKE_JS_INC})
|
|
1028
963
|
target_link_libraries(${PROJECT_NAME} gquiche ssl zlibstatic crypto ${CMAKE_JS_LIB} )
|
|
1029
964
|
set_target_properties(${PROJECT_NAME} PROPERTIES LINKER_LANGUAGE CXX)
|
|
965
|
+
IF (WIN32)
|
|
966
|
+
# place for custum window stuff
|
|
967
|
+
ELSE(WIN32)
|
|
968
|
+
IF(APPLE)
|
|
969
|
+
ELSE(APPLE)
|
|
970
|
+
target_link_libraries(${PROJECT_NAME} -static-libgcc -static-libstdc++)
|
|
971
|
+
ENDIF(APPLE)
|
|
972
|
+
ENDIF(WIN32)
|
|
1030
973
|
|
|
1031
974
|
execute_process(COMMAND node -p "require('node-addon-api').include"
|
|
1032
975
|
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
package/dist/lib/dom.d.ts
CHANGED
|
@@ -55,10 +55,15 @@ export interface WebTransportOptions {
|
|
|
55
55
|
allowPooling?: boolean;
|
|
56
56
|
requireUnreliable?: boolean;
|
|
57
57
|
serverCertificateHashes?: WebTransportHash[];
|
|
58
|
+
congestionControl?: WebTransportCongestionControl;
|
|
58
59
|
}
|
|
59
60
|
export interface WebTransport {
|
|
61
|
+
getStats: () => Promise<WebTransportStats>;
|
|
60
62
|
readonly ready: Promise<void>;
|
|
63
|
+
readonly reliability: WebTransportReliabilityMode;
|
|
64
|
+
readonly congestionControl: WebTransportCongestionControl;
|
|
61
65
|
readonly closed: Promise<WebTransportCloseInfo>;
|
|
66
|
+
readonly draining: Promise<undefined>;
|
|
62
67
|
close: (closeInfo?: WebTransportCloseInfo) => void;
|
|
63
68
|
readonly datagrams: WebTransportDatagramDuplexStream;
|
|
64
69
|
createBidirectionalStream: () => Promise<WebTransportBidirectionalStream>;
|
|
@@ -67,4 +72,5 @@ export interface WebTransport {
|
|
|
67
72
|
readonly incomingUnidirectionalStreams: ReadableStream<WebTransportReceiveStream>;
|
|
68
73
|
}
|
|
69
74
|
export declare type WebTransportReliabilityMode = 'pending' | 'reliable-only' | 'supports-unreliable';
|
|
75
|
+
export declare type WebTransportCongestionControl = 'default' | 'throughput' | 'low-latency';
|
|
70
76
|
//# sourceMappingURL=dom.d.ts.map
|
package/dist/lib/dom.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dom.d.ts","sourceRoot":"","sources":["../../lib/dom.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,yBAAyB;IACxC,SAAS,EAAE,MAAM,CAAA;IACjB,eAAe,EAAE,MAAM,CAAA;IACvB,eAAe,EAAE,MAAM,CAAA;IACvB,YAAY,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,yBAAyB,EAAE,MAAM,CAAA;IACjC,yBAAyB,EAAE,MAAM,CAAA;IACjC,aAAa,EAAE,MAAM,CAAA;IACrB,eAAe,EAAE,MAAM,CAAA;IACvB,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,MAAM,CAAA;IACpB,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,yBAAyB,CAAA;CACrC;AAED,MAAM,WAAW,qBAAqB;IACpC,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,EAAE,cAAc,CAAC,UAAU,CAAC,CAAA;IACpC,QAAQ,EAAE,cAAc,CAAC,UAAU,CAAC,CAAA;CAMrC;AAED,MAAM,WAAW,+BAA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| null;
|
|
4
4
|
static callback(): void;
|
|
5
5
|
/**
|
|
6
|
+
* @param {any} [args]
|
|
6
7
|
* @returns {Http3EventLoop}
|
|
7
8
|
*/
|
|
8
|
-
static createGlobalEventLoop(): Http3EventLoop;
|
|
9
|
+
static createGlobalEventLoop(args?: any): Http3EventLoop;
|
|
9
10
|
/**
|
|
10
11
|
* @param {any} object
|
|
12
|
+
* @param {any} args
|
|
11
13
|
* @returns {Http3EventLoop}
|
|
12
14
|
*/
|
|
13
|
-
static getGlobalEventLoop(object: any): Http3EventLoop;
|
|
15
|
+
static getGlobalEventLoop(object: any, args: any): Http3EventLoop;
|
|
14
16
|
/**
|
|
15
17
|
* @param {*} [args]
|
|
16
18
|
*/
|
|
@@ -18,7 +20,10 @@ export class Http3EventLoop {
|
|
|
18
20
|
eventloopInt: any;
|
|
19
21
|
refObjects: Set<any>;
|
|
20
22
|
loopGuardian(): void;
|
|
21
|
-
|
|
23
|
+
/**
|
|
24
|
+
* @param {*} [args]
|
|
25
|
+
*/
|
|
26
|
+
startEventLoop(args?: any): void;
|
|
22
27
|
loopGuardianTimer: NodeJS.Timer | undefined;
|
|
23
28
|
shutdownEventLoop(): void;
|
|
24
29
|
refObjectsEmptyTime: number | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event-loop.d.ts","sourceRoot":"","sources":["../../lib/event-loop.js"],"names":[],"mappings":"AAKA;IACE,oCAAoC;IACpC,mBADW,cAAc,GAAG,IAAI,CACR;
|
|
1
|
+
{"version":3,"file":"event-loop.d.ts","sourceRoot":"","sources":["../../lib/event-loop.js"],"names":[],"mappings":"AAKA;IACE,oCAAoC;IACpC,mBADW,cAAc,GAAG,IAAI,CACR;IAgDxB,wBAEC;IAED;;;OAGG;IACH,oCAHW,GAAG,GACD,cAAc,CAS1B;IAED;;;;OAIG;IACH,kCAJW,GAAG,QACH,GAAG,GACD,cAAc,CAQ1B;IA1ED;;OAEG;IACH,wBAYC;IAXC,kBAME;IAGF,qBAA2B;IAoB7B,qBAWC;IA3BD;;OAEG;IACH,iCAIC;IADC,4CAA6D;IAG/D,0BAKC;IASkC,wCAA8B;CAmClE"}
|
package/dist/lib/server.d.ts
CHANGED
|
@@ -19,8 +19,8 @@ export class Http3Server extends Http3WebTransport implements Http3ServerEventHa
|
|
|
19
19
|
constructor(args: Http3ServerInit);
|
|
20
20
|
/** @type {Record<string, ReadableStream>} */
|
|
21
21
|
sessionStreams: Record<string, ReadableStream>;
|
|
22
|
-
/** @type {Record<string,
|
|
23
|
-
sessionController: Record<string,
|
|
22
|
+
/** @type {Record<string, ReadableStreamDefaultController<Http3WTSession>>} */
|
|
23
|
+
sessionController: Record<string, ReadableStreamDefaultController<Http3WTSession>>;
|
|
24
24
|
port: number | null;
|
|
25
25
|
host: string | null;
|
|
26
26
|
/** @type {any} */
|
|
@@ -85,4 +85,5 @@ export type ServerSessionRequestEvent = import('./types').ServerSessionRequestEv
|
|
|
85
85
|
export type Http3ServerInit = import('./types').Http3ServerInit;
|
|
86
86
|
import { Http3WebTransport } from "./transport.js";
|
|
87
87
|
import { ReadableStream } from "stream/web";
|
|
88
|
+
import { Http3WTSession } from "./session.js";
|
|
88
89
|
//# sourceMappingURL=server.d.ts.map
|
package/dist/lib/server.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../lib/server.js"],"names":[],"mappings":";AAOA;;;;;;;;GAQG;AAEH;;GAEG;AACH;IACE;;;OAGG;IACH,kBAFW,eAAe,EAuBzB;IAlBC,6CAA6C;IAC7C,gBADW,OAAO,MAAM,EAAE,cAAc,CAAC,CACjB;IAExB,
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../lib/server.js"],"names":[],"mappings":";AAOA;;;;;;;;GAQG;AAEH;;GAEG;AACH;IACE;;;OAGG;IACH,kBAFW,eAAe,EAuBzB;IAlBC,6CAA6C;IAC7C,gBADW,OAAO,MAAM,EAAE,cAAc,CAAC,CACjB;IAExB,8EAA8E;IAC9E,mBADW,OAAO,MAAM,EAAE,gCAAgC,cAAc,CAAC,CAAC,CAC/C;IAE3B,oBAAgB;IAChB,oBAAgB;IAGhB,kBAAkB;IAClB,gBADW,GAAG,CACY;IAE1B,4CAAqB;IACrB,wBAAgC;IAEhC,6CAAsB;IACtB,yBAAkC;IAGpC,oBAEC;IAED,mBAOC;IADC,6BAAmB;IAGrB;;OAEG;IACH,WAFa;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,IAAI,CAa1E;IAED;;OAEG;IACH,6BAFW,GAAG,QAMb;IAED;;;;OAIG;IACH,oBAJW,MAAM,SACN,GAAG,GAAG,SAAS,GACb,eAAe,mBAAmB,CAAC,CAa/C;IAED;;OAEG;IACH,uBAFW,yBAAyB,QAiBnC;IAED;;OAEG;IACH,8BAFW,gCAAgC,QAa1C;IAED;OACG;IACH,sBAEC;IAED;OACG;IACH,0BAEC;IAED;OACG;IACH,sBAEC;IAED;;OAEG;IACH,oBAFW,iBAAiB,QAoB3B;IAED;;OAEG;IACH,qBAFW,gCAAgC,GAAG,iBAAiB,GAAG,yBAAyB,QAoB1F;CACF;kCAnMY,OAAO,SAAS,EAAE,mBAAmB;mCACrC,OAAO,SAAS,EAAE,oBAAoB;sCACtC,OAAO,SAAS,EAAE,uBAAuB;+CACzC,OAAO,SAAS,EAAE,gCAAgC;gCAClD,OAAO,SAAS,EAAE,iBAAiB;wCACnC,OAAO,SAAS,EAAE,yBAAyB;8BAC3C,OAAO,SAAS,EAAE,eAAe"}
|
package/dist/lib/session.d.ts
CHANGED
|
@@ -11,7 +11,11 @@
|
|
|
11
11
|
* @typedef {import('./dom').WebTransportCloseInfo} WebTransportCloseInfo
|
|
12
12
|
* @typedef {import('./dom').WebTransportBidirectionalStream} WebTransportBidirectionalStream
|
|
13
13
|
* @typedef {import('./dom').WebTransportSendStream} WebTransportSendStream
|
|
14
|
+
* @typedef {import('./dom').WebTransportReceiveStream} WebTransportReceiveStream
|
|
14
15
|
* @typedef {import('./dom').WebTransportDatagramDuplexStream} WebTransportDatagramDuplexStream
|
|
16
|
+
* @typedef {import('./dom').WebTransportReliabilityMode} WebTransportReliabilityMode
|
|
17
|
+
* @typedef {import('./dom').WebTransportCongestionControl} WebTransportCongestionControl
|
|
18
|
+
* @typedef {import('./dom').WebTransportStats} WebTransportStats
|
|
15
19
|
*
|
|
16
20
|
* @typedef {import('./types').NativeHttp3WTSession} NativeHttp3WTSession
|
|
17
21
|
*
|
|
@@ -56,14 +60,24 @@ export class Http3WTSession implements WebTransportSessionEventHandler, WebTrans
|
|
|
56
60
|
/** @type {Promise<void>} */
|
|
57
61
|
ready: Promise<void>;
|
|
58
62
|
readyReject: (reason?: any) => void;
|
|
63
|
+
/** @type {WebTransportReliabilityMode} */
|
|
64
|
+
reliability: WebTransportReliabilityMode;
|
|
65
|
+
/** @type {WebTransportCongestionControl} */
|
|
66
|
+
congestionControl: WebTransportCongestionControl;
|
|
59
67
|
/** @type {Promise<WebTransportCloseInfo>} */
|
|
60
68
|
closed: Promise<WebTransportCloseInfo>;
|
|
61
69
|
closedResolve: (value: import("./dom").WebTransportCloseInfo | PromiseLike<import("./dom").WebTransportCloseInfo>) => void;
|
|
62
70
|
closedReject: (reason?: any) => void;
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
71
|
+
/** @type {Promise<undefined>} */
|
|
72
|
+
draining: Promise<undefined>;
|
|
73
|
+
drainingResolve: (value: PromiseLike<undefined> | undefined) => void;
|
|
74
|
+
drainingReject: (reason?: any) => void;
|
|
75
|
+
/** @type {ReadableStream<WebTransportBidirectionalStream>} */
|
|
76
|
+
incomingBidirectionalStreams: ReadableStream<WebTransportBidirectionalStream>;
|
|
77
|
+
incomBiDiController: ReadableStreamDefaultController<import("./dom").WebTransportBidirectionalStream>;
|
|
78
|
+
/** @type {ReadableStream<WebTransportReceiveStream>} */
|
|
79
|
+
incomingUnidirectionalStreams: ReadableStream<WebTransportReceiveStream>;
|
|
80
|
+
incomUniDiController: ReadableStreamDefaultController<import("./dom").WebTransportReceiveStream>;
|
|
67
81
|
/** @type {Array<() => void>} */
|
|
68
82
|
writeDatagramRes: (() => void)[];
|
|
69
83
|
/** @type {Array<() => void>} */
|
|
@@ -72,7 +86,7 @@ export class Http3WTSession implements WebTransportSessionEventHandler, WebTrans
|
|
|
72
86
|
writeDatagramProm: Array<Promise<void>>;
|
|
73
87
|
/** @type {WebTransportDatagramDuplexStream} */
|
|
74
88
|
datagrams: WebTransportDatagramDuplexStream;
|
|
75
|
-
incomDatagramController:
|
|
89
|
+
incomDatagramController: ReadableStreamDefaultController<Uint8Array>;
|
|
76
90
|
outgoDatagramController: import("stream/web").WritableStreamDefaultController;
|
|
77
91
|
/** @type {Array<(stream: WebTransportBidirectionalStream) => void>} */
|
|
78
92
|
resolveBiDi: ((stream: WebTransportBidirectionalStream) => void)[];
|
|
@@ -82,8 +96,10 @@ export class Http3WTSession implements WebTransportSessionEventHandler, WebTrans
|
|
|
82
96
|
rejectBiDi: ((err?: Error) => void)[];
|
|
83
97
|
/** @type {Array<(err?: Error) => void>} */
|
|
84
98
|
rejectUniDi: ((err?: Error) => void)[];
|
|
85
|
-
|
|
86
|
-
|
|
99
|
+
/** @type {Set<WebTransportSendStream>} */
|
|
100
|
+
sendStreams: Set<WebTransportSendStream>;
|
|
101
|
+
/** @type {Set<WebTransportReceiveStream>} */
|
|
102
|
+
receiveStreams: Set<WebTransportReceiveStream>;
|
|
87
103
|
/** @type {Set<Http3WTStream>} */
|
|
88
104
|
streamObjs: Set<Http3WTStream>;
|
|
89
105
|
/** @type {Set<WritableStreamDefaultController>} */
|
|
@@ -94,6 +110,25 @@ export class Http3WTSession implements WebTransportSessionEventHandler, WebTrans
|
|
|
94
110
|
* @param {NativeHttp3WTSession} object
|
|
95
111
|
*/
|
|
96
112
|
setSessionObj(object: NativeHttp3WTSession): void;
|
|
113
|
+
getStats(): Promise<{
|
|
114
|
+
timestamp: number;
|
|
115
|
+
bytesSent: bigint;
|
|
116
|
+
packetsSent: bigint;
|
|
117
|
+
packetsLost: bigint;
|
|
118
|
+
numOutgoingStreamsCreated: number;
|
|
119
|
+
numIncomingStreamsCreated: number;
|
|
120
|
+
bytesReceived: bigint;
|
|
121
|
+
packetsReceived: bigint;
|
|
122
|
+
smoothedRtt: number;
|
|
123
|
+
rttVariation: number;
|
|
124
|
+
minRtt: number;
|
|
125
|
+
datagrams: {
|
|
126
|
+
timestamp: number;
|
|
127
|
+
expiredOutgoing: bigint;
|
|
128
|
+
droppedIncoming: bigint;
|
|
129
|
+
lostOutgoing: bigint;
|
|
130
|
+
};
|
|
131
|
+
}>;
|
|
97
132
|
waitForDatagramsSend(): Promise<void>;
|
|
98
133
|
/**
|
|
99
134
|
* @param {Http3WTStream} stream
|
|
@@ -104,25 +139,25 @@ export class Http3WTSession implements WebTransportSessionEventHandler, WebTrans
|
|
|
104
139
|
*/
|
|
105
140
|
removeStreamObj(stream: Http3WTStream): void;
|
|
106
141
|
/**
|
|
107
|
-
* @param {
|
|
142
|
+
* @param {WebTransportSendStream} stream
|
|
108
143
|
* @param {WritableStreamDefaultController} controller
|
|
109
144
|
*/
|
|
110
|
-
addSendStream(stream:
|
|
145
|
+
addSendStream(stream: WebTransportSendStream, controller: WritableStreamDefaultController): void;
|
|
111
146
|
/**
|
|
112
|
-
* @param {
|
|
147
|
+
* @param {WebTransportSendStream} stream
|
|
113
148
|
* @param {WritableStreamDefaultController} controller
|
|
114
149
|
*/
|
|
115
|
-
removeSendStream(stream:
|
|
150
|
+
removeSendStream(stream: WebTransportSendStream, controller: WritableStreamDefaultController): void;
|
|
116
151
|
/**
|
|
117
|
-
* @param {
|
|
152
|
+
* @param {WebTransportReceiveStream } stream
|
|
118
153
|
* @param {ReadableStreamDefaultController} controller
|
|
119
154
|
*/
|
|
120
|
-
addReceiveStream(stream:
|
|
155
|
+
addReceiveStream(stream: WebTransportReceiveStream, controller: ReadableStreamDefaultController): void;
|
|
121
156
|
/**
|
|
122
|
-
* @param {
|
|
157
|
+
* @param {WebTransportReceiveStream } stream
|
|
123
158
|
* @param {ReadableStreamDefaultController} controller
|
|
124
159
|
*/
|
|
125
|
-
removeReceiveStream(stream:
|
|
160
|
+
removeReceiveStream(stream: WebTransportReceiveStream, controller: ReadableStreamDefaultController): void;
|
|
126
161
|
/**
|
|
127
162
|
* @returns {Promise<WebTransportBidirectionalStream>}
|
|
128
163
|
*/
|
|
@@ -195,10 +230,26 @@ export type WebTransportBidirectionalStream = import('./dom').WebTransportBidire
|
|
|
195
230
|
* WebTransport session events
|
|
196
231
|
*/
|
|
197
232
|
export type WebTransportSendStream = import('./dom').WebTransportSendStream;
|
|
233
|
+
/**
|
|
234
|
+
* WebTransport session events
|
|
235
|
+
*/
|
|
236
|
+
export type WebTransportReceiveStream = import('./dom').WebTransportReceiveStream;
|
|
198
237
|
/**
|
|
199
238
|
* WebTransport session events
|
|
200
239
|
*/
|
|
201
240
|
export type WebTransportDatagramDuplexStream = import('./dom').WebTransportDatagramDuplexStream;
|
|
241
|
+
/**
|
|
242
|
+
* WebTransport session events
|
|
243
|
+
*/
|
|
244
|
+
export type WebTransportReliabilityMode = import('./dom').WebTransportReliabilityMode;
|
|
245
|
+
/**
|
|
246
|
+
* WebTransport session events
|
|
247
|
+
*/
|
|
248
|
+
export type WebTransportCongestionControl = import('./dom').WebTransportCongestionControl;
|
|
249
|
+
/**
|
|
250
|
+
* WebTransport session events
|
|
251
|
+
*/
|
|
252
|
+
export type WebTransportStats = import('./dom').WebTransportStats;
|
|
202
253
|
/**
|
|
203
254
|
* Public API
|
|
204
255
|
*/
|
|
@@ -221,5 +272,4 @@ export type Http3Client = import('./client').Http3Client;
|
|
|
221
272
|
export type WritableStreamDefaultController = import('stream/web').WritableStreamDefaultController;
|
|
222
273
|
import { ReadableStream } from "stream/web";
|
|
223
274
|
import { Http3WTStream } from "./stream.js";
|
|
224
|
-
import { WritableStream } from "stream/web";
|
|
225
275
|
//# sourceMappingURL=session.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../lib/session.js"],"names":[],"mappings":";AAGA
|
|
1
|
+
{"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../lib/session.js"],"names":[],"mappings":";AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH;;;GAGG;AACH;IAiYE;;OAEG;IACH,sBAFW,iBAAiB,GAAG,iBAAiB,GAAG,qBAAqB,GAAG,iBAAiB,GAAG,cAAc,QAmC5G;IApaD;;;;;OAKG;IACH;QAJyD,MAAM;QACpB,SAAS,EAAzC,WAAW,GAAG,WAAW;QACF,MAAM,GAA7B,GAAG,GAAG,SAAS;OAqHzB;IAjHG,2DAAyB;IAG3B,2EAA+B;IAC/B,yDAAyD;IACzD,OADW,OAAO,SAAS,EAAE,wBAAwB,CAC7B;IAExB,yDAAyD;IACzD,wBADqB,GAAG,KAAK,IAAI,qBACT;IACxB,8CAA8C;IAC9C,kBADkB,IAAI,qBACD;IACrB,uCAAuC;IACvC,QADW,CAAC,GAAG,GAAG,IAAI,GAAG,SAAS,CAAC,CACV;IAEzB,4BAA4B;IAC5B,OADW,QAAQ,IAAI,CAAC,CAItB;IADA,oCAAyB;IAE3B,0CAA0C;IAC1C,aADW,2BAA2B,CACV;IAC5B,4CAA4C;IAC5C,mBADW,6BAA6B,CACN;IAClC,6CAA6C;IAC7C,QADW,QAAQ,qBAAqB,CAAC,CAIvC;IAFA,2HAA4B;IAC5B,qCAA0B;IAG5B,iCAAiC;IACjC,UADW,QAAQ,SAAS,CAAC,CAI3B;IAFA,qEAA8B;IAC9B,uCAA4B;IAG9B,8DAA8D;IAC9D,8BADW,eAAe,+BAA+B,CAAC,CAMxD;IAFE,sGAAqC;IAGzC,wDAAwD;IACxD,+BADW,eAAe,yBA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AKG;IACH;mBAJW,MAAM;gBACN,MAAM;oBACJ,IAAI,CAWhB;IAED,gBAIC;IAED;;OAEG;IACH,cAFW,iBAAiB,QAyC3B;IAED;;OAEG;IACH,eAFW,cAAc,QA6CxB;IAED;;OAEG;IACH,yBAFW,qBAAqB,QAK/B;IAED;;OAEG;IACH,qBAFW,iBAAiB,QAW3B;CAuCF;;;;8CArcY,OAAO,SAAS,EAAE,+BAA+B;;;;gCACjD,OAAO,SAAS,EAAE,iBAAiB;;;;gCACnC,OAAO,SAAS,EAAE,iBAAiB;;;;oCACnC,OAAO,SAAS,EAAE,qBAAqB;;;;gCACvC,OAAO,SAAS,EAAE,iBAAiB;;;;6BACnC,OAAO,SAAS,EAAE,cAAc;;;;oCAEhC,OAAO,OAAO,EAAE,qBAAqB;;;;8CACrC,OAAO,OAAO,EAAE,+BAA+B;;;;qCAC/C,OAAO,OAAO,EAAE,sBAAsB;;;;wCACtC,OAAO,OAAO,EAAE,yBAAyB;;;;+CACzC,OAAO,OAAO,EAAE,gCAAgC;;;;0CAChD,OAAO,OAAO,EAAE,2BAA2B;;;;4CAC3C,OAAO,OAAO,EAAE,6BAA6B;;;;gCAC7C,OAAO,OAAO,EAAE,iBAAiB;;;;mCAEjC,OAAO,SAAS,EAAE,oBAAoB;;;;kCAGtC,OAAO,SAAS,EAAE,mBAAmB;;;;0BAErC,OAAO,UAAU,EAAE,WAAW;;;;0BAC9B,OAAO,UAAU,EAAE,WAAW;;;;8CAE9B,OAAO,YAAY,EAAE,+BAA+B"}
|
package/dist/lib/stream.d.ts
CHANGED
|
@@ -43,11 +43,13 @@ export class Http3WTStream {
|
|
|
43
43
|
/** @type {Promise<void> | null} */
|
|
44
44
|
pendingoperation: Promise<void> | null;
|
|
45
45
|
pendingres: (() => void) | null;
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
/** @type {WebTransportReceiveStream} */
|
|
47
|
+
readable: WebTransportReceiveStream;
|
|
48
|
+
readableController: ReadableStreamDefaultController<Uint8Array>;
|
|
48
49
|
cancelres: (() => void) | null;
|
|
49
50
|
readableclosed: boolean;
|
|
50
|
-
|
|
51
|
+
/** @type {WebTransportSendStream} */
|
|
52
|
+
writable: WebTransportSendStream;
|
|
51
53
|
writableController: import("stream/web").WritableStreamDefaultController;
|
|
52
54
|
abortres: (() => void) | null;
|
|
53
55
|
/**
|
|
@@ -111,6 +113,4 @@ export type Http3WTSession = import('./session').Http3WTSession;
|
|
|
111
113
|
* WebTransport stream events
|
|
112
114
|
*/
|
|
113
115
|
export type WritableStreamDefaultController = import('stream/web').WritableStreamDefaultController;
|
|
114
|
-
import { ReadableStream } from "stream/web";
|
|
115
|
-
import { WritableStream } from "stream/web";
|
|
116
116
|
//# sourceMappingURL=stream.d.ts.map
|
package/dist/lib/stream.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stream.d.ts","sourceRoot":"","sources":["../../lib/stream.js"],"names":[],"mappings":";AAEA;;;;;;;;;;;;;;GAcG;AAEH;
|
|
1
|
+
{"version":3,"file":"stream.d.ts","sourceRoot":"","sources":["../../lib/stream.js"],"names":[],"mappings":";AAEA;;;;;;;;;;;;;;GAcG;AAEH;IAwSE;;OAEG;IACH,sBAFW,qBAAqB,GAAG,eAAe,GAAG,gBAAgB,GAAG,gBAAgB,GAAG,wBAAwB,QAmClH;IA3UD;;;;;;;OAOG;IACH;QANqC,MAAM,EAAhC,mBAAmB;QACE,SAAS,EAA9B,cAAc;QACD,SAAS,EAAtB,MAAM;QACQ,aAAa,EAA3B,OAAO;QACO,QAAQ,EAAtB,OAAO;OAwIjB;IArIC,8CAAyB;IAEzB,8CAA+B;IAC/B,kBAA+B;IAC/B,uBAAuC;IACvC,kBAA6B;IAC7B,gBAAmB;IAEnB,mCAAmC;IACnC,kBADW,QAAQ,IAAI,CAAC,GAAG,IAAI,CACH;IAC5B,mBAuHkB,IAAI,SAvHA;IAIpB,wCAAwC;IACxC,oCAkCC;IA7BK,gEAAoC;IAelC,kBA4FQ,IAAI,SA5FY;IAQ1B,wBAA0B;IAiBhC,qCAAqC;IACrC,iCAuDC;IApDK,yEAAoC;IA6ClC,iBAsBQ,IAAI,SAtBW;IA0BnC;;;OAGG;IACH,yBAHW,OAAO,SAAS,EAAE,qBAAqB,GACrC,IAAI,CAgDhB;IAhBO,oCAA0B;IAkBlC;;;OAGG;IACH,mBAHW,eAAe,GACb,IAAI,CAuBhB;IAED;;OAEG;IACH,oBAFW,gBAAgB,QAY1B;IAED;;OAEG;IACH,oBAFW,gBAAgB,QAe1B;IAED;;OAEG;IACH,4BAFW,wBAAwB,QAoClC;IAzBK,qCAA2B;CAgElC;;;;6CA3VY,OAAO,SAAS,EAAE,8BAA8B;;;;oCAChD,OAAO,SAAS,EAAE,qBAAqB;;;;8BACvC,OAAO,SAAS,EAAE,eAAe;;;;+BACjC,OAAO,SAAS,EAAE,gBAAgB;;;;+BAClC,OAAO,SAAS,EAAE,gBAAgB;;;;uCAClC,OAAO,SAAS,EAAE,wBAAwB;;;;kCAE1C,OAAO,SAAS,EAAE,mBAAmB;;;;6BAErC,OAAO,WAAW,EAAE,cAAc;;;;8CAElC,OAAO,YAAY,EAAE,+BAA+B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transport.d.ts","sourceRoot":"","sources":["../../lib/transport.js"],"names":[],"mappings":"AAGA;
|
|
1
|
+
{"version":3,"file":"transport.d.ts","sourceRoot":"","sources":["../../lib/transport.js"],"names":[],"mappings":"AAGA;IAoBE;;;;;;OAMG;IACH;;;uCALgD,GAAG,KAAK,IAAI;;;iBAC9C,MAAM;aAgBnB;IAtCD;;;OAGG;IACH,gCAFW,QAAQ,GAAG,QAAQ,EAe7B;IAPG,kBAAyE;IAM3E,aAAkB;CAuBrB"}
|
package/dist/lib/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../lib/types.ts"],"names":[],"mappings":"AAAA,OAAO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