uwebsockets 2.2.2 → 3.0.0

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.
Files changed (74) hide show
  1. package/.github/workflows/c-cpp.yml +11 -11
  2. package/ESM_wrapper.mjs +53 -0
  3. package/README.md +5 -5
  4. package/docs/generated/enums/ListenOptions.html +6 -6
  5. package/docs/generated/functions/App.html +4 -4
  6. package/docs/generated/functions/SSLApp.html +4 -4
  7. package/docs/generated/functions/getParts.html +4 -4
  8. package/docs/generated/functions/us_listen_socket_close.html +4 -4
  9. package/docs/generated/functions/us_socket_local_port.html +4 -4
  10. package/docs/generated/index.html +3 -3
  11. package/docs/generated/interfaces/AppOptions.html +11 -11
  12. package/docs/generated/interfaces/HttpRequest.html +13 -13
  13. package/docs/generated/interfaces/HttpResponse.html +22 -22
  14. package/docs/generated/interfaces/MultipartField.html +8 -8
  15. package/docs/generated/interfaces/TemplatedApp.html +23 -23
  16. package/docs/generated/interfaces/WebSocket.html +18 -18
  17. package/docs/generated/interfaces/WebSocketBehavior.html +19 -19
  18. package/docs/generated/interfaces/us_listen_socket.html +4 -4
  19. package/docs/generated/interfaces/us_socket.html +4 -4
  20. package/docs/generated/interfaces/us_socket_context_t.html +4 -4
  21. package/docs/generated/types/CompressOptions.html +4 -4
  22. package/docs/generated/types/RecognizedString.html +4 -4
  23. package/docs/generated/variables/DEDICATED_COMPRESSOR_128KB.html +4 -4
  24. package/docs/generated/variables/DEDICATED_COMPRESSOR_16KB.html +4 -4
  25. package/docs/generated/variables/DEDICATED_COMPRESSOR_256KB.html +4 -4
  26. package/docs/generated/variables/DEDICATED_COMPRESSOR_32KB.html +4 -4
  27. package/docs/generated/variables/DEDICATED_COMPRESSOR_3KB.html +4 -4
  28. package/docs/generated/variables/DEDICATED_COMPRESSOR_4KB.html +4 -4
  29. package/docs/generated/variables/DEDICATED_COMPRESSOR_64KB.html +4 -4
  30. package/docs/generated/variables/DEDICATED_COMPRESSOR_8KB.html +4 -4
  31. package/docs/generated/variables/DEDICATED_DECOMPRESSOR.html +4 -4
  32. package/docs/generated/variables/DEDICATED_DECOMPRESSOR_16KB.html +4 -4
  33. package/docs/generated/variables/DEDICATED_DECOMPRESSOR_1KB.html +4 -4
  34. package/docs/generated/variables/DEDICATED_DECOMPRESSOR_2KB.html +4 -4
  35. package/docs/generated/variables/DEDICATED_DECOMPRESSOR_32KB.html +4 -4
  36. package/docs/generated/variables/DEDICATED_DECOMPRESSOR_4KB.html +4 -4
  37. package/docs/generated/variables/DEDICATED_DECOMPRESSOR_512B.html +4 -4
  38. package/docs/generated/variables/DEDICATED_DECOMPRESSOR_8KB.html +4 -4
  39. package/docs/generated/variables/DISABLED.html +4 -4
  40. package/docs/generated/variables/SHARED_COMPRESSOR.html +4 -4
  41. package/docs/generated/variables/SHARED_DECOMPRESSOR.html +4 -4
  42. package/docs/tsconfig.json +9 -9
  43. package/examples/SlowReceiver.js +41 -38
  44. package/index.d.ts +106 -69
  45. package/logo.svg +1 -0
  46. package/package.json +1 -1
  47. package/source_commit +1 -1
  48. package/tests/Hammer.js +152 -149
  49. package/tests/fuzzingclient.json +26 -26
  50. package/uws.js +2 -2
  51. package/uws_darwin_arm64_108.node +0 -0
  52. package/uws_darwin_arm64_115.node +0 -0
  53. package/uws_darwin_arm64_120.node +0 -0
  54. package/uws_darwin_arm64_93.node +0 -0
  55. package/uws_darwin_x64_108.node +0 -0
  56. package/uws_darwin_x64_115.node +0 -0
  57. package/uws_darwin_x64_120.node +0 -0
  58. package/uws_darwin_x64_93.node +0 -0
  59. package/uws_linux_arm64_108.node +0 -0
  60. package/uws_linux_arm64_115.node +0 -0
  61. package/uws_linux_arm64_120.node +0 -0
  62. package/uws_linux_arm64_93.node +0 -0
  63. package/uws_linux_arm_108.node +0 -0
  64. package/uws_linux_arm_115.node +0 -0
  65. package/uws_linux_arm_120.node +0 -0
  66. package/uws_linux_arm_93.node +0 -0
  67. package/uws_linux_x64_108.node +0 -0
  68. package/uws_linux_x64_115.node +0 -0
  69. package/uws_linux_x64_120.node +0 -0
  70. package/uws_linux_x64_93.node +0 -0
  71. package/uws_win32_x64_108.node +0 -0
  72. package/uws_win32_x64_115.node +0 -0
  73. package/uws_win32_x64_120.node +0 -0
  74. package/uws_win32_x64_93.node +0 -0
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>HttpRequest | uWebSockets.js v20.16.0 documentation</title><meta name="description" content="Documentation for uWebSockets.js v20.16.0 documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>HttpRequest | uwebsockets v20.16.0 documentation</title><meta name="description" content="Documentation for uwebsockets v20.16.0 documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base="..">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
@@ -6,13 +6,13 @@
6
6
  <div id="tsd-toolbar-links"></div></div>
7
7
  <ul class="results">
8
8
  <li class="state loading">Preparing search index...</li>
9
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">uWebSockets.js v20.16.0 documentation</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">uwebsockets v20.16.0 documentation</a></div>
10
10
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
11
  <div class="container container-main">
12
12
  <div class="col-8 col-content">
13
13
  <div class="tsd-page-title">
14
14
  <ul class="tsd-breadcrumb">
15
- <li><a href="../index.html">uWebSockets.js v20.16.0 documentation</a></li>
15
+ <li><a href="../index.html">uwebsockets v20.16.0 documentation</a></li>
16
16
  <li><a href="HttpRequest.html">HttpRequest</a></li></ul>
17
17
  <h1>Interface HttpRequest</h1></div>
18
18
  <section class="tsd-panel tsd-comment">
@@ -23,7 +23,7 @@
23
23
  <ul class="tsd-hierarchy">
24
24
  <li><span class="target">HttpRequest</span></li></ul></section><aside class="tsd-sources">
25
25
  <ul>
26
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L202">index.d.ts:202</a></li></ul></aside>
26
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L202">index.d.ts:202</a></li></ul></aside>
27
27
  <section class="tsd-panel-group tsd-index-group">
28
28
  <section class="tsd-panel tsd-index-panel">
29
29
  <details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@@ -69,7 +69,7 @@
69
69
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul></div>
70
70
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
71
71
  <ul>
72
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L218">index.d.ts:218</a></li></ul></aside></li></ul></section>
72
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L218">index.d.ts:218</a></li></ul></aside></li></ul></section>
73
73
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getCaseSensitiveMethod" class="tsd-anchor"></a>
74
74
  <h3 class="tsd-anchor-link"><span>get<wbr/>Case<wbr/>Sensitive<wbr/>Method</span><a href="#getCaseSensitiveMethod" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
75
75
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
@@ -79,7 +79,7 @@
79
79
  </div>
80
80
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
81
81
  <ul>
82
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L212">index.d.ts:212</a></li></ul></aside></li></ul></section>
82
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L212">index.d.ts:212</a></li></ul></aside></li></ul></section>
83
83
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getHeader" class="tsd-anchor"></a>
84
84
  <h3 class="tsd-anchor-link"><span>get<wbr/>Header</span><a href="#getHeader" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
85
85
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
@@ -94,7 +94,7 @@
94
94
  <h5>lowerCaseKey: <a href="../types/RecognizedString.html" class="tsd-signature-type" data-tsd-kind="Type alias">RecognizedString</a></h5></li></ul></div>
95
95
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
96
96
  <ul>
97
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L204">index.d.ts:204</a></li></ul></aside></li></ul></section>
97
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L204">index.d.ts:204</a></li></ul></aside></li></ul></section>
98
98
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getMethod" class="tsd-anchor"></a>
99
99
  <h3 class="tsd-anchor-link"><span>get<wbr/>Method</span><a href="#getMethod" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
100
100
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
@@ -104,7 +104,7 @@
104
104
  </div>
105
105
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
106
106
  <ul>
107
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L210">index.d.ts:210</a></li></ul></aside></li></ul></section>
107
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L210">index.d.ts:210</a></li></ul></aside></li></ul></section>
108
108
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getParameter" class="tsd-anchor"></a>
109
109
  <h3 class="tsd-anchor-link"><span>get<wbr/>Parameter</span><a href="#getParameter" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
110
110
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
@@ -119,7 +119,7 @@
119
119
  <h5>index: <span class="tsd-signature-type">number</span></h5></li></ul></div>
120
120
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
121
121
  <ul>
122
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L206">index.d.ts:206</a></li></ul></aside></li></ul></section>
122
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L206">index.d.ts:206</a></li></ul></aside></li></ul></section>
123
123
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getQuery" class="tsd-anchor"></a>
124
124
  <h3 class="tsd-anchor-link"><span>get<wbr/>Query</span><a href="#getQuery" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
125
125
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
@@ -129,7 +129,7 @@
129
129
  </div>
130
130
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
131
131
  <ul>
132
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L214">index.d.ts:214</a></li></ul></aside></li>
132
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L214">index.d.ts:214</a></li></ul></aside></li>
133
133
  <li class="tsd-signature tsd-anchor-link" id="getQuery.getQuery-2">get<wbr/>Query<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#getQuery.getQuery-2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
134
134
  <li class="tsd-description">
135
135
  <div class="tsd-comment tsd-typography"><p>Returns a decoded query parameter value or empty string.</p>
@@ -141,7 +141,7 @@
141
141
  <h5>key: <span class="tsd-signature-type">string</span></h5></li></ul></div>
142
142
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
143
143
  <ul>
144
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L216">index.d.ts:216</a></li></ul></aside></li></ul></section>
144
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L216">index.d.ts:216</a></li></ul></aside></li></ul></section>
145
145
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getUrl" class="tsd-anchor"></a>
146
146
  <h3 class="tsd-anchor-link"><span>get<wbr/>Url</span><a href="#getUrl" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
147
147
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
@@ -151,7 +151,7 @@
151
151
  </div>
152
152
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
153
153
  <ul>
154
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L208">index.d.ts:208</a></li></ul></aside></li></ul></section>
154
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L208">index.d.ts:208</a></li></ul></aside></li></ul></section>
155
155
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="setYield" class="tsd-anchor"></a>
156
156
  <h3 class="tsd-anchor-link"><span>set<wbr/>Yield</span><a href="#setYield" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
157
157
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
@@ -166,7 +166,7 @@
166
166
  <h5>yield: <span class="tsd-signature-type">boolean</span></h5></li></ul></div>
167
167
  <h4 class="tsd-returns-title">Returns <a href="HttpRequest.html" class="tsd-signature-type" data-tsd-kind="Interface">HttpRequest</a></h4><aside class="tsd-sources">
168
168
  <ul>
169
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L220">index.d.ts:220</a></li></ul></aside></li></ul></section></section></div>
169
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L220">index.d.ts:220</a></li></ul></aside></li></ul></section></section></div>
170
170
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
171
171
  <div class="tsd-navigation settings">
172
172
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>HttpResponse | uWebSockets.js v20.16.0 documentation</title><meta name="description" content="Documentation for uWebSockets.js v20.16.0 documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>HttpResponse | uwebsockets v20.16.0 documentation</title><meta name="description" content="Documentation for uwebsockets v20.16.0 documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base="..">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
@@ -6,13 +6,13 @@
6
6
  <div id="tsd-toolbar-links"></div></div>
7
7
  <ul class="results">
8
8
  <li class="state loading">Preparing search index...</li>
9
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">uWebSockets.js v20.16.0 documentation</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">uwebsockets v20.16.0 documentation</a></div>
10
10
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
11
  <div class="container container-main">
12
12
  <div class="col-8 col-content">
13
13
  <div class="tsd-page-title">
14
14
  <ul class="tsd-breadcrumb">
15
- <li><a href="../index.html">uWebSockets.js v20.16.0 documentation</a></li>
15
+ <li><a href="../index.html">uwebsockets v20.16.0 documentation</a></li>
16
16
  <li><a href="HttpResponse.html">HttpResponse</a></li></ul>
17
17
  <h1>Interface HttpResponse</h1></div>
18
18
  <section class="tsd-panel tsd-comment">
@@ -26,7 +26,7 @@
26
26
  <h4 class="tsd-before-signature">Indexable</h4>
27
27
  <div class="tsd-signature"><span class="tsd-signature-symbol">[</span>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">any</span></div></section><aside class="tsd-sources">
28
28
  <ul>
29
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L112">index.d.ts:112</a></li></ul></aside>
29
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L112">index.d.ts:112</a></li></ul></aside>
30
30
  <section class="tsd-panel-group tsd-index-group">
31
31
  <section class="tsd-panel tsd-index-panel">
32
32
  <details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@@ -64,7 +64,7 @@
64
64
  </div>
65
65
  <h4 class="tsd-returns-title">Returns <a href="HttpResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">HttpResponse</a></h4><aside class="tsd-sources">
66
66
  <ul>
67
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L147">index.d.ts:147</a></li></ul></aside></li></ul></section>
67
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L147">index.d.ts:147</a></li></ul></aside></li></ul></section>
68
68
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="cork" class="tsd-anchor"></a>
69
69
  <h3 class="tsd-anchor-link"><span>cork</span><a href="#cork" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
70
70
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
@@ -94,7 +94,7 @@ in one TLS block being sent off, each with one send syscall.</p>
94
94
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul></div>
95
95
  <h4 class="tsd-returns-title">Returns <a href="HttpResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">HttpResponse</a></h4><aside class="tsd-sources">
96
96
  <ul>
97
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L192">index.d.ts:192</a></li></ul></aside></li></ul></section>
97
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L192">index.d.ts:192</a></li></ul></aside></li></ul></section>
98
98
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="end" class="tsd-anchor"></a>
99
99
  <h3 class="tsd-anchor-link"><span>end</span><a href="#end" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
100
100
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
@@ -111,7 +111,7 @@ in one TLS block being sent off, each with one send syscall.</p>
111
111
  <h5><code class="tsd-tag ts-flagOptional">Optional</code> closeConnection: <span class="tsd-signature-type">boolean</span></h5></li></ul></div>
112
112
  <h4 class="tsd-returns-title">Returns <a href="HttpResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">HttpResponse</a></h4><aside class="tsd-sources">
113
113
  <ul>
114
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L142">index.d.ts:142</a></li></ul></aside></li></ul></section>
114
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L142">index.d.ts:142</a></li></ul></aside></li></ul></section>
115
115
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getProxiedRemoteAddress" class="tsd-anchor"></a>
116
116
  <h3 class="tsd-anchor-link"><span>get<wbr/>Proxied<wbr/>Remote<wbr/>Address</span><a href="#getProxiedRemoteAddress" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
117
117
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
@@ -121,7 +121,7 @@ in one TLS block being sent off, each with one send syscall.</p>
121
121
  </div>
122
122
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">ArrayBuffer</span></h4><aside class="tsd-sources">
123
123
  <ul>
124
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L174">index.d.ts:174</a></li></ul></aside></li></ul></section>
124
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L174">index.d.ts:174</a></li></ul></aside></li></ul></section>
125
125
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getProxiedRemoteAddressAsText" class="tsd-anchor"></a>
126
126
  <h3 class="tsd-anchor-link"><span>get<wbr/>Proxied<wbr/>Remote<wbr/>Address<wbr/>As<wbr/>Text</span><a href="#getProxiedRemoteAddressAsText" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
127
127
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
@@ -131,7 +131,7 @@ in one TLS block being sent off, each with one send syscall.</p>
131
131
  </div>
132
132
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">ArrayBuffer</span></h4><aside class="tsd-sources">
133
133
  <ul>
134
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L177">index.d.ts:177</a></li></ul></aside></li></ul></section>
134
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L177">index.d.ts:177</a></li></ul></aside></li></ul></section>
135
135
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getRemoteAddress" class="tsd-anchor"></a>
136
136
  <h3 class="tsd-anchor-link"><span>get<wbr/>Remote<wbr/>Address</span><a href="#getRemoteAddress" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
137
137
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
@@ -141,7 +141,7 @@ in one TLS block being sent off, each with one send syscall.</p>
141
141
  </div>
142
142
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">ArrayBuffer</span></h4><aside class="tsd-sources">
143
143
  <ul>
144
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L168">index.d.ts:168</a></li></ul></aside></li></ul></section>
144
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L168">index.d.ts:168</a></li></ul></aside></li></ul></section>
145
145
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getRemoteAddressAsText" class="tsd-anchor"></a>
146
146
  <h3 class="tsd-anchor-link"><span>get<wbr/>Remote<wbr/>Address<wbr/>As<wbr/>Text</span><a href="#getRemoteAddressAsText" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
147
147
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
@@ -151,7 +151,7 @@ in one TLS block being sent off, each with one send syscall.</p>
151
151
  </div>
152
152
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">ArrayBuffer</span></h4><aside class="tsd-sources">
153
153
  <ul>
154
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L171">index.d.ts:171</a></li></ul></aside></li></ul></section>
154
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L171">index.d.ts:171</a></li></ul></aside></li></ul></section>
155
155
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getWriteOffset" class="tsd-anchor"></a>
156
156
  <h3 class="tsd-anchor-link"><span>get<wbr/>Write<wbr/>Offset</span><a href="#getWriteOffset" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
157
157
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
@@ -161,7 +161,7 @@ in one TLS block being sent off, each with one send syscall.</p>
161
161
  </div>
162
162
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
163
163
  <ul>
164
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L150">index.d.ts:150</a></li></ul></aside></li></ul></section>
164
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L150">index.d.ts:150</a></li></ul></aside></li></ul></section>
165
165
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="onAborted" class="tsd-anchor"></a>
166
166
  <h3 class="tsd-anchor-link"><span>on<wbr/>Aborted</span><a href="#onAborted" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
167
167
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
@@ -185,7 +185,7 @@ When this event emits, the response has been aborted and may not be used.</p>
185
185
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul></div>
186
186
  <h4 class="tsd-returns-title">Returns <a href="HttpResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">HttpResponse</a></h4><aside class="tsd-sources">
187
187
  <ul>
188
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L162">index.d.ts:162</a></li></ul></aside></li></ul></section>
188
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L162">index.d.ts:162</a></li></ul></aside></li></ul></section>
189
189
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="onData" class="tsd-anchor"></a>
190
190
  <h3 class="tsd-anchor-link"><span>on<wbr/>Data</span><a href="#onData" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
191
191
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
@@ -213,7 +213,7 @@ When this event emits, the response has been aborted and may not be used.</p>
213
213
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul></div>
214
214
  <h4 class="tsd-returns-title">Returns <a href="HttpResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">HttpResponse</a></h4><aside class="tsd-sources">
215
215
  <ul>
216
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L165">index.d.ts:165</a></li></ul></aside></li></ul></section>
216
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L165">index.d.ts:165</a></li></ul></aside></li></ul></section>
217
217
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="onWritable" class="tsd-anchor"></a>
218
218
  <h3 class="tsd-anchor-link"><span>on<wbr/>Writable</span><a href="#onWritable" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
219
219
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
@@ -241,7 +241,7 @@ Writing nothing is always success, so by default you must return true.</p>
241
241
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></li></ul></li></ul></div>
242
242
  <h4 class="tsd-returns-title">Returns <a href="HttpResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">HttpResponse</a></h4><aside class="tsd-sources">
243
243
  <ul>
244
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L156">index.d.ts:156</a></li></ul></aside></li></ul></section>
244
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L156">index.d.ts:156</a></li></ul></aside></li></ul></section>
245
245
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="pause" class="tsd-anchor"></a>
246
246
  <h3 class="tsd-anchor-link"><span>pause</span><a href="#pause" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
247
247
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
@@ -251,7 +251,7 @@ Writing nothing is always success, so by default you must return true.</p>
251
251
  </div>
252
252
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
253
253
  <ul>
254
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L129">index.d.ts:129</a></li></ul></aside></li></ul></section>
254
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L129">index.d.ts:129</a></li></ul></aside></li></ul></section>
255
255
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="resume" class="tsd-anchor"></a>
256
256
  <h3 class="tsd-anchor-link"><span>resume</span><a href="#resume" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
257
257
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
@@ -261,7 +261,7 @@ Writing nothing is always success, so by default you must return true.</p>
261
261
  </div>
262
262
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
263
263
  <ul>
264
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L132">index.d.ts:132</a></li></ul></aside></li></ul></section>
264
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L132">index.d.ts:132</a></li></ul></aside></li></ul></section>
265
265
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="tryEnd" class="tsd-anchor"></a>
266
266
  <h3 class="tsd-anchor-link"><span>try<wbr/>End</span><a href="#tryEnd" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
267
267
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
@@ -278,7 +278,7 @@ Writing nothing is always success, so by default you must return true.</p>
278
278
  <h5>totalSize: <span class="tsd-signature-type">number</span></h5></li></ul></div>
279
279
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">]</span></h4><aside class="tsd-sources">
280
280
  <ul>
281
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L144">index.d.ts:144</a></li></ul></aside></li></ul></section>
281
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L144">index.d.ts:144</a></li></ul></aside></li></ul></section>
282
282
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="upgrade" class="tsd-anchor"></a>
283
283
  <h3 class="tsd-anchor-link"><span>upgrade</span><a href="#upgrade" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
284
284
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
@@ -306,7 +306,7 @@ Writing nothing is always success, so by default you must return true.</p>
306
306
  <h5>context: <a href="us_socket_context_t.html" class="tsd-signature-type" data-tsd-kind="Interface">us_socket_context_t</a></h5></li></ul></div>
307
307
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
308
308
  <ul>
309
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L195">index.d.ts:195</a></li></ul></aside></li></ul></section>
309
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L195">index.d.ts:195</a></li></ul></aside></li></ul></section>
310
310
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="write" class="tsd-anchor"></a>
311
311
  <h3 class="tsd-anchor-link"><span>write</span><a href="#write" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
312
312
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
@@ -321,7 +321,7 @@ Writing nothing is always success, so by default you must return true.</p>
321
321
  <h5>chunk: <a href="../types/RecognizedString.html" class="tsd-signature-type" data-tsd-kind="Type alias">RecognizedString</a></h5></li></ul></div>
322
322
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
323
323
  <ul>
324
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L140">index.d.ts:140</a></li></ul></aside></li></ul></section>
324
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L140">index.d.ts:140</a></li></ul></aside></li></ul></section>
325
325
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="writeHeader" class="tsd-anchor"></a>
326
326
  <h3 class="tsd-anchor-link"><span>write<wbr/>Header</span><a href="#writeHeader" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
327
327
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
@@ -339,7 +339,7 @@ See writeStatus and corking.</p>
339
339
  <h5>value: <a href="../types/RecognizedString.html" class="tsd-signature-type" data-tsd-kind="Type alias">RecognizedString</a></h5></li></ul></div>
340
340
  <h4 class="tsd-returns-title">Returns <a href="HttpResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">HttpResponse</a></h4><aside class="tsd-sources">
341
341
  <ul>
342
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L138">index.d.ts:138</a></li></ul></aside></li></ul></section>
342
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L138">index.d.ts:138</a></li></ul></aside></li></ul></section>
343
343
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="writeStatus" class="tsd-anchor"></a>
344
344
  <h3 class="tsd-anchor-link"><span>write<wbr/>Status</span><a href="#writeStatus" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
345
345
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
@@ -352,7 +352,7 @@ See writeStatus and corking.</p>
352
352
  <h5>status: <a href="../types/RecognizedString.html" class="tsd-signature-type" data-tsd-kind="Type alias">RecognizedString</a></h5></li></ul></div>
353
353
  <h4 class="tsd-returns-title">Returns <a href="HttpResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">HttpResponse</a></h4><aside class="tsd-sources">
354
354
  <ul>
355
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L134">index.d.ts:134</a></li></ul></aside></li></ul></section></section></div>
355
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L134">index.d.ts:134</a></li></ul></aside></li></ul></section></section></div>
356
356
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
357
357
  <div class="tsd-navigation settings">
358
358
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>MultipartField | uWebSockets.js v20.16.0 documentation</title><meta name="description" content="Documentation for uWebSockets.js v20.16.0 documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>MultipartField | uwebsockets v20.16.0 documentation</title><meta name="description" content="Documentation for uwebsockets v20.16.0 documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base="..">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
@@ -6,13 +6,13 @@
6
6
  <div id="tsd-toolbar-links"></div></div>
7
7
  <ul class="results">
8
8
  <li class="state loading">Preparing search index...</li>
9
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">uWebSockets.js v20.16.0 documentation</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">uwebsockets v20.16.0 documentation</a></div>
10
10
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
11
  <div class="container container-main">
12
12
  <div class="col-8 col-content">
13
13
  <div class="tsd-page-title">
14
14
  <ul class="tsd-breadcrumb">
15
- <li><a href="../index.html">uWebSockets.js v20.16.0 documentation</a></li>
15
+ <li><a href="../index.html">uwebsockets v20.16.0 documentation</a></li>
16
16
  <li><a href="MultipartField.html">MultipartField</a></li></ul>
17
17
  <h1>Interface MultipartField</h1></div>
18
18
  <section class="tsd-panel tsd-hierarchy">
@@ -20,7 +20,7 @@
20
20
  <ul class="tsd-hierarchy">
21
21
  <li><span class="target">MultipartField</span></li></ul></section><aside class="tsd-sources">
22
22
  <ul>
23
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L336">index.d.ts:336</a></li></ul></aside>
23
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L336">index.d.ts:336</a></li></ul></aside>
24
24
  <section class="tsd-panel-group tsd-index-group">
25
25
  <section class="tsd-panel tsd-index-panel">
26
26
  <details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@@ -39,22 +39,22 @@
39
39
  <h3 class="tsd-anchor-link"><span>data</span><a href="#data" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
40
40
  <div class="tsd-signature">data<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ArrayBuffer</span></div><aside class="tsd-sources">
41
41
  <ul>
42
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L337">index.d.ts:337</a></li></ul></aside></section>
42
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L337">index.d.ts:337</a></li></ul></aside></section>
43
43
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="filename" class="tsd-anchor"></a>
44
44
  <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>filename</span><a href="#filename" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
45
45
  <div class="tsd-signature">filename<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
46
46
  <ul>
47
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L340">index.d.ts:340</a></li></ul></aside></section>
47
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L340">index.d.ts:340</a></li></ul></aside></section>
48
48
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="name" class="tsd-anchor"></a>
49
49
  <h3 class="tsd-anchor-link"><span>name</span><a href="#name" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
50
50
  <div class="tsd-signature">name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
51
51
  <ul>
52
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L338">index.d.ts:338</a></li></ul></aside></section>
52
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L338">index.d.ts:338</a></li></ul></aside></section>
53
53
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="type" class="tsd-anchor"></a>
54
54
  <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>type</span><a href="#type" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
55
55
  <div class="tsd-signature">type<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
56
56
  <ul>
57
- <li>Defined in <a href="https://github.com/uNetworking/uWebSockets.js/blob/master/docs/index.d.ts#L339">index.d.ts:339</a></li></ul></aside></section></section></div>
57
+ <li>Defined in <a href="https://github.com/uNetworking/uwebsockets/blob/master/docs/index.d.ts#L339">index.d.ts:339</a></li></ul></aside></section></section></div>
58
58
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
59
59
  <div class="tsd-navigation settings">
60
60
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">