Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
molvqingtai committed Mar 10, 2023
2 parents adfd764 + a3c44c9 commit 4a41378
Show file tree
Hide file tree
Showing 20 changed files with 559 additions and 512 deletions.
2 changes: 1 addition & 1 deletion docs/assets/main.js

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions docs/classes/Req.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="target">Req</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/molvqingtai/resreq/blob/ed5e562/src/Req.ts#L6">src/Req.ts:6</a></li></ul></aside>
<li>Defined in <a href="https://github.com/molvqingtai/resreq/blob/75fd31b/src/Req.ts#L6">src/Req.ts:6</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
Expand Down Expand Up @@ -83,19 +83,19 @@ <h5>init: <span class="tsd-signature-type">Request</span><span class="tsd-signat
<h4 class="tsd-returns-title">Returns <a href="Req.html" class="tsd-signature-type" data-tsd-kind="Class">Req</a></h4><aside class="tsd-sources">
<p>Overrides Request.constructor</p>
<ul>
<li>Defined in <a href="https://github.com/molvqingtai/resreq/blob/ed5e562/src/Req.ts#L15">src/Req.ts:15</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/molvqingtai/resreq/blob/75fd31b/src/Req.ts#L15">src/Req.ts:15</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="_ABORT_CONTROLLER_" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>[ABORT_<wbr/>CONTROLLER]</span><a href="#_ABORT_CONTROLLER_" 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>
<div class="tsd-signature">[ABORT_<wbr/>CONTROLLER]<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">AbortController</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/molvqingtai/resreq/blob/ed5e562/src/Req.ts#L11">src/Req.ts:11</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/molvqingtai/resreq/blob/75fd31b/src/Req.ts#L11">src/Req.ts:11</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="_ON_GLOBAL_DOWNLOAD_PROGRESS_" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>[ON_<wbr/>GLOBAL_<wbr/>DOWNLOAD_<wbr/>PROGRESS]</span><a href="#_ON_GLOBAL_DOWNLOAD_PROGRESS_" 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>
<div class="tsd-signature">[ON_<wbr/>GLOBAL_<wbr/>DOWNLOAD_<wbr/>PROGRESS]<span class="tsd-signature-symbol">?:</span> <a href="../types/ProgressCallback.html" class="tsd-signature-type" data-tsd-kind="Type alias">ProgressCallback</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/molvqingtai/resreq/blob/ed5e562/src/Req.ts#L13">src/Req.ts:13</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/molvqingtai/resreq/blob/75fd31b/src/Req.ts#L13">src/Req.ts:13</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="body" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>body</span><a href="#body" 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>
<div class="tsd-signature">body<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">ReadableStream</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span></div><aside class="tsd-sources">
Expand Down Expand Up @@ -160,7 +160,7 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>meta</span><a href="#meta" 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>
<div class="tsd-signature">meta<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/molvqingtai/resreq/blob/ed5e562/src/Req.ts#L7">src/Req.ts:7</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/molvqingtai/resreq/blob/75fd31b/src/Req.ts#L7">src/Req.ts:7</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="method" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>method</span><a href="#method" 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>
<div class="tsd-signature">method<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
Expand All @@ -181,7 +181,7 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>on<wbr/>Download<wbr/>Progress</span><a href="#onDownloadProgress" 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>
<div class="tsd-signature">on<wbr/>Download<wbr/>Progress<span class="tsd-signature-symbol">?:</span> <a href="../types/ProgressCallback.html" class="tsd-signature-type" data-tsd-kind="Type alias">ProgressCallback</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/molvqingtai/resreq/blob/ed5e562/src/Req.ts#L12">src/Req.ts:12</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/molvqingtai/resreq/blob/75fd31b/src/Req.ts#L12">src/Req.ts:12</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="redirect" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>redirect</span><a href="#redirect" 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>
<div class="tsd-signature">redirect<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">RequestRedirect</span></div>
Expand Down Expand Up @@ -210,7 +210,7 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>response<wbr/>Type</span><a href="#responseType" 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>
<div class="tsd-signature">response<wbr/>Type<span class="tsd-signature-symbol">?:</span> <a href="../types/ResponseType.html" class="tsd-signature-type" data-tsd-kind="Type alias">ResponseType</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/molvqingtai/resreq/blob/ed5e562/src/Req.ts#L9">src/Req.ts:9</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/molvqingtai/resreq/blob/75fd31b/src/Req.ts#L9">src/Req.ts:9</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="signal" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>signal</span><a href="#signal" 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>
<div class="tsd-signature">signal<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">AbortSignal</span></div>
Expand All @@ -223,12 +223,12 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>throw<wbr/>Http<wbr/>Error</span><a href="#throwHttpError" 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>
<div class="tsd-signature">throw<wbr/>Http<wbr/>Error<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/molvqingtai/resreq/blob/ed5e562/src/Req.ts#L10">src/Req.ts:10</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/molvqingtai/resreq/blob/75fd31b/src/Req.ts#L10">src/Req.ts:10</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="timeout" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>timeout</span><a href="#timeout" 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>
<div class="tsd-signature">timeout<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/molvqingtai/resreq/blob/ed5e562/src/Req.ts#L8">src/Req.ts:8</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/molvqingtai/resreq/blob/75fd31b/src/Req.ts#L8">src/Req.ts:8</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="url" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>url</span><a href="#url" 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>
<div class="tsd-signature">url<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
Expand Down
Loading

0 comments on commit 4a41378

Please sign in to comment.