Skip to content

Commit

Permalink
deploy: 1a04afd
Browse files Browse the repository at this point in the history
  • Loading branch information
mayuki committed Jun 21, 2024
1 parent 83615b1 commit a2d389b
Show file tree
Hide file tree
Showing 5 changed files with 343 additions and 55 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ <h6><strong>Assembly</strong>: MagicOnion.Client.dll</h6>
<div class="markdown level0 conceptual"></div>

<div class="codewrapper">
<pre><code class="lang-csharp hljs">public delegate Task&lt;TResponse&gt; InvokeMethodDelegate&lt;TRequest, TResponse&gt;(int methodId, TRequest value);</code></pre>
<pre><code class="lang-csharp hljs">public delegate ValueTask&lt;TResponse&gt; InvokeMethodDelegate&lt;TRequest, TResponse&gt;(int methodId, TRequest value);</code></pre>
</div>


Expand All @@ -101,7 +101,7 @@ <h4 class="parameters">Parameters</h4>
<section>
<h4 class="returns">Returns</h4>
<dl class="cysharpdocfx-valuedefinition">
<dt><span class="xref">Task</span>&lt;TResponse&gt;</dt>
<dt><span class="xref">ValueTask</span>&lt;TResponse&gt;</dt>
<dd></dd>
</dl>
</section>
Expand Down
4 changes: 2 additions & 2 deletions api/MagicOnion.Client.IStreamingHubDiagnosticHandler.html
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ <h4 id="MagicOnion_Client_IStreamingHubDiagnosticHandler_OnMethodInvoke__3___0_S
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
<pre><code class="lang-csharp hljs">Task&lt;TResponse&gt; OnMethodInvoke&lt;THub, TRequest, TResponse&gt;(THub hubInstance, int methodId, string methodName, TRequest request, bool isFireAndForget, IStreamingHubDiagnosticHandler.InvokeMethodDelegate&lt;TRequest, TResponse&gt; invokeMethod)</code></pre>
<pre><code class="lang-csharp hljs">ValueTask&lt;TResponse&gt; OnMethodInvoke&lt;THub, TRequest, TResponse&gt;(THub hubInstance, int methodId, string methodName, TRequest request, bool isFireAndForget, IStreamingHubDiagnosticHandler.InvokeMethodDelegate&lt;TRequest, TResponse&gt; invokeMethod)</code></pre>
</div>

<section>
Expand All @@ -199,7 +199,7 @@ <h5 class="parameters">Parameters</h5>
<section>
<h5 class="returns">Returns</h5>
<dl class="cysharpdocfx-valuedefinition">
<dt><span class="xref">Task</span>&lt;TResponse&gt;</dt>
<dt><span class="xref">ValueTask</span>&lt;TResponse&gt;</dt>
<dd></dd>
</dl>
</section>
Expand Down
240 changes: 228 additions & 12 deletions api/MagicOnion.Client.StreamingHubClientBase-2.html
Original file line number Diff line number Diff line change
Expand Up @@ -251,13 +251,37 @@ <h4>Methods
</tr>
<tr>
<td>
<a class="xref" href="MagicOnion.Client.StreamingHubClientBase-2.html#MagicOnion_Client_StreamingHubClientBase_2_WriteMessageFireAndForgetAsync__2_System_Int32___0_">WriteMessageFireAndForgetAsync&lt;TRequest, TResponse&gt;(Int32, TRequest)</a>
<a class="xref" href="MagicOnion.Client.StreamingHubClientBase-2.html#MagicOnion_Client_StreamingHubClientBase_2_WriteMessageFireAndForgetTaskAsync__2_System_Int32___0_">WriteMessageFireAndForgetTaskAsync&lt;TRequest, TResponse&gt;(Int32, TRequest)</a>
</td>
<td class="markdown level1 summary"></td>
</tr>
<tr>
<td>
<a class="xref" href="MagicOnion.Client.StreamingHubClientBase-2.html#MagicOnion_Client_StreamingHubClientBase_2_WriteMessageWithResponseAsync__2_System_Int32___0_">WriteMessageWithResponseAsync&lt;TRequest, TResponse&gt;(Int32, TRequest)</a>
<a class="xref" href="MagicOnion.Client.StreamingHubClientBase-2.html#MagicOnion_Client_StreamingHubClientBase_2_WriteMessageFireAndForgetValueTaskAsync__2_System_Int32___0_">WriteMessageFireAndForgetValueTaskAsync&lt;TRequest, TResponse&gt;(Int32, TRequest)</a>
</td>
<td class="markdown level1 summary"></td>
</tr>
<tr>
<td>
<a class="xref" href="MagicOnion.Client.StreamingHubClientBase-2.html#MagicOnion_Client_StreamingHubClientBase_2_WriteMessageFireAndForgetValueTaskOfTAsync__2_System_Int32___0_">WriteMessageFireAndForgetValueTaskOfTAsync&lt;TRequest, TResponse&gt;(Int32, TRequest)</a>
</td>
<td class="markdown level1 summary"></td>
</tr>
<tr>
<td>
<a class="xref" href="MagicOnion.Client.StreamingHubClientBase-2.html#MagicOnion_Client_StreamingHubClientBase_2_WriteMessageWithResponseTaskAsync__2_System_Int32___0_">WriteMessageWithResponseTaskAsync&lt;TRequest, TResponse&gt;(Int32, TRequest)</a>
</td>
<td class="markdown level1 summary"></td>
</tr>
<tr>
<td>
<a class="xref" href="MagicOnion.Client.StreamingHubClientBase-2.html#MagicOnion_Client_StreamingHubClientBase_2_WriteMessageWithResponseValueTaskAsync__2_System_Int32___0_">WriteMessageWithResponseValueTaskAsync&lt;TRequest, TResponse&gt;(Int32, TRequest)</a>
</td>
<td class="markdown level1 summary"></td>
</tr>
<tr>
<td>
<a class="xref" href="MagicOnion.Client.StreamingHubClientBase-2.html#MagicOnion_Client_StreamingHubClientBase_2_WriteMessageWithResponseValueTaskOfTAsync__2_System_Int32___0_">WriteMessageWithResponseValueTaskOfTAsync&lt;TRequest, TResponse&gt;(Int32, TRequest)</a>
</td>
<td class="markdown level1 summary"></td>
</tr>
Expand Down Expand Up @@ -669,15 +693,15 @@ <h4 id="MagicOnion_Client_StreamingHubClientBase_2_OnResponseEvent_System_Int32_
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected abstract void OnResponseEvent(int methodId, object taskCompletionSource, ReadOnlyMemory&lt;byte&gt; data)</code></pre>
<pre><code class="lang-csharp hljs">protected abstract void OnResponseEvent(int methodId, object taskSource, ReadOnlyMemory&lt;byte&gt; data)</code></pre>
</div>

<section>
<h5 class="parameters">Parameters</h5>
<dl class="cysharpdocfx-valuedefinition">
<dt><span class="parametername"><code>methodId</code></span> <span class="xref">System.Int32</span></dt>
<dd></dd>
<dt><span class="parametername"><code>taskCompletionSource</code></span> <span class="xref">System.Object</span></dt>
<dt><span class="parametername"><code>taskSource</code></span> <span class="xref">System.Object</span></dt>
<dd></dd>
<dt><span class="parametername"><code>data</code></span> <span class="xref">ReadOnlyMemory</span>&lt;<span class="xref">System.Byte</span>&gt;</dt>
<dd></dd>
Expand Down Expand Up @@ -742,13 +766,13 @@ <h4 id="MagicOnion_Client_StreamingHubClientBase_2_SetResultForResponse__1_Syste
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected void SetResultForResponse&lt;TResponse&gt;(object taskCompletionSource, ReadOnlyMemory&lt;byte&gt; data)</code></pre>
<pre><code class="lang-csharp hljs">protected void SetResultForResponse&lt;TResponse&gt;(object taskSource, ReadOnlyMemory&lt;byte&gt; data)</code></pre>
</div>

<section>
<h5 class="parameters">Parameters</h5>
<dl class="cysharpdocfx-valuedefinition">
<dt><span class="parametername"><code>taskCompletionSource</code></span> <span class="xref">System.Object</span></dt>
<dt><span class="parametername"><code>taskSource</code></span> <span class="xref">System.Object</span></dt>
<dd></dd>
<dt><span class="parametername"><code>data</code></span> <span class="xref">ReadOnlyMemory</span>&lt;<span class="xref">System.Byte</span>&gt;</dt>
<dd></dd>
Expand Down Expand Up @@ -928,13 +952,13 @@ <h5 class="returns">Returns</h5>

</section>
<section>
<a id="MagicOnion_Client_StreamingHubClientBase_2_WriteMessageFireAndForgetAsync_" data-uid="MagicOnion.Client.StreamingHubClientBase`2.WriteMessageFireAndForgetAsync*"></a>
<h4 id="MagicOnion_Client_StreamingHubClientBase_2_WriteMessageFireAndForgetAsync__2_System_Int32___0_" data-uid="MagicOnion.Client.StreamingHubClientBase`2.WriteMessageFireAndForgetAsync``2(System.Int32,``0)">WriteMessageFireAndForgetAsync&lt;TRequest, TResponse&gt;(Int32, TRequest)</h4>
<a id="MagicOnion_Client_StreamingHubClientBase_2_WriteMessageFireAndForgetTaskAsync_" data-uid="MagicOnion.Client.StreamingHubClientBase`2.WriteMessageFireAndForgetTaskAsync*"></a>
<h4 id="MagicOnion_Client_StreamingHubClientBase_2_WriteMessageFireAndForgetTaskAsync__2_System_Int32___0_" data-uid="MagicOnion.Client.StreamingHubClientBase`2.WriteMessageFireAndForgetTaskAsync``2(System.Int32,``0)">WriteMessageFireAndForgetTaskAsync&lt;TRequest, TResponse&gt;(Int32, TRequest)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected Task&lt;TResponse&gt; WriteMessageFireAndForgetAsync&lt;TRequest, TResponse&gt;(int methodId, TRequest message)</code></pre>
<pre><code class="lang-csharp hljs">protected Task&lt;TResponse&gt; WriteMessageFireAndForgetTaskAsync&lt;TRequest, TResponse&gt;(int methodId, TRequest message)</code></pre>
</div>

<section>
Expand Down Expand Up @@ -976,13 +1000,109 @@ <h5 class="typeParameters">Type Parameters</h5>

</section>
<section>
<a id="MagicOnion_Client_StreamingHubClientBase_2_WriteMessageWithResponseAsync_" data-uid="MagicOnion.Client.StreamingHubClientBase`2.WriteMessageWithResponseAsync*"></a>
<h4 id="MagicOnion_Client_StreamingHubClientBase_2_WriteMessageWithResponseAsync__2_System_Int32___0_" data-uid="MagicOnion.Client.StreamingHubClientBase`2.WriteMessageWithResponseAsync``2(System.Int32,``0)">WriteMessageWithResponseAsync&lt;TRequest, TResponse&gt;(Int32, TRequest)</h4>
<a id="MagicOnion_Client_StreamingHubClientBase_2_WriteMessageFireAndForgetValueTaskAsync_" data-uid="MagicOnion.Client.StreamingHubClientBase`2.WriteMessageFireAndForgetValueTaskAsync*"></a>
<h4 id="MagicOnion_Client_StreamingHubClientBase_2_WriteMessageFireAndForgetValueTaskAsync__2_System_Int32___0_" data-uid="MagicOnion.Client.StreamingHubClientBase`2.WriteMessageFireAndForgetValueTaskAsync``2(System.Int32,``0)">WriteMessageFireAndForgetValueTaskAsync&lt;TRequest, TResponse&gt;(Int32, TRequest)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected ValueTask WriteMessageFireAndForgetValueTaskAsync&lt;TRequest, TResponse&gt;(int methodId, TRequest message)</code></pre>
</div>

<section>
<h5 class="parameters">Parameters</h5>
<dl class="cysharpdocfx-valuedefinition">
<dt><span class="parametername"><code>methodId</code></span> <span class="xref">System.Int32</span></dt>
<dd></dd>
<dt><span class="parametername"><code>message</code></span> <span class="xref">TRequest</span></dt>
<dd></dd>
</dl>
</section>

<section>
<h5 class="returns">Returns</h5>
<dl class="cysharpdocfx-valuedefinition">
<dt><span class="xref">ValueTask</span></dt>
<dd></dd>
</dl>
</section>

<section>
<h5 class="typeParameters">Type Parameters</h5>
<dl class="cysharpdocfx-valuedefinition">
<dt><span class="parametername"><code>TRequest</code></span></dt>
<dd></dd>
<dt><span class="parametername"><code>TResponse</code></span></dt>
<dd></dd>
</dl>
</section>










</section>
<section>
<a id="MagicOnion_Client_StreamingHubClientBase_2_WriteMessageFireAndForgetValueTaskOfTAsync_" data-uid="MagicOnion.Client.StreamingHubClientBase`2.WriteMessageFireAndForgetValueTaskOfTAsync*"></a>
<h4 id="MagicOnion_Client_StreamingHubClientBase_2_WriteMessageFireAndForgetValueTaskOfTAsync__2_System_Int32___0_" data-uid="MagicOnion.Client.StreamingHubClientBase`2.WriteMessageFireAndForgetValueTaskOfTAsync``2(System.Int32,``0)">WriteMessageFireAndForgetValueTaskOfTAsync&lt;TRequest, TResponse&gt;(Int32, TRequest)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected ValueTask&lt;TResponse&gt; WriteMessageFireAndForgetValueTaskOfTAsync&lt;TRequest, TResponse&gt;(int methodId, TRequest message)</code></pre>
</div>

<section>
<h5 class="parameters">Parameters</h5>
<dl class="cysharpdocfx-valuedefinition">
<dt><span class="parametername"><code>methodId</code></span> <span class="xref">System.Int32</span></dt>
<dd></dd>
<dt><span class="parametername"><code>message</code></span> <span class="xref">TRequest</span></dt>
<dd></dd>
</dl>
</section>

<section>
<h5 class="returns">Returns</h5>
<dl class="cysharpdocfx-valuedefinition">
<dt><span class="xref">ValueTask</span>&lt;TResponse&gt;</dt>
<dd></dd>
</dl>
</section>

<section>
<h5 class="typeParameters">Type Parameters</h5>
<dl class="cysharpdocfx-valuedefinition">
<dt><span class="parametername"><code>TRequest</code></span></dt>
<dd></dd>
<dt><span class="parametername"><code>TResponse</code></span></dt>
<dd></dd>
</dl>
</section>










</section>
<section>
<a id="MagicOnion_Client_StreamingHubClientBase_2_WriteMessageWithResponseTaskAsync_" data-uid="MagicOnion.Client.StreamingHubClientBase`2.WriteMessageWithResponseTaskAsync*"></a>
<h4 id="MagicOnion_Client_StreamingHubClientBase_2_WriteMessageWithResponseTaskAsync__2_System_Int32___0_" data-uid="MagicOnion.Client.StreamingHubClientBase`2.WriteMessageWithResponseTaskAsync``2(System.Int32,``0)">WriteMessageWithResponseTaskAsync&lt;TRequest, TResponse&gt;(Int32, TRequest)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected Task&lt;TResponse&gt; WriteMessageWithResponseAsync&lt;TRequest, TResponse&gt;(int methodId, TRequest message)</code></pre>
<pre><code class="lang-csharp hljs">protected Task&lt;TResponse&gt; WriteMessageWithResponseTaskAsync&lt;TRequest, TResponse&gt;(int methodId, TRequest message)</code></pre>
</div>

<section>
Expand Down Expand Up @@ -1022,6 +1142,102 @@ <h5 class="typeParameters">Type Parameters</h5>



</section>
<section>
<a id="MagicOnion_Client_StreamingHubClientBase_2_WriteMessageWithResponseValueTaskAsync_" data-uid="MagicOnion.Client.StreamingHubClientBase`2.WriteMessageWithResponseValueTaskAsync*"></a>
<h4 id="MagicOnion_Client_StreamingHubClientBase_2_WriteMessageWithResponseValueTaskAsync__2_System_Int32___0_" data-uid="MagicOnion.Client.StreamingHubClientBase`2.WriteMessageWithResponseValueTaskAsync``2(System.Int32,``0)">WriteMessageWithResponseValueTaskAsync&lt;TRequest, TResponse&gt;(Int32, TRequest)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected ValueTask WriteMessageWithResponseValueTaskAsync&lt;TRequest, TResponse&gt;(int methodId, TRequest message)</code></pre>
</div>

<section>
<h5 class="parameters">Parameters</h5>
<dl class="cysharpdocfx-valuedefinition">
<dt><span class="parametername"><code>methodId</code></span> <span class="xref">System.Int32</span></dt>
<dd></dd>
<dt><span class="parametername"><code>message</code></span> <span class="xref">TRequest</span></dt>
<dd></dd>
</dl>
</section>

<section>
<h5 class="returns">Returns</h5>
<dl class="cysharpdocfx-valuedefinition">
<dt><span class="xref">ValueTask</span></dt>
<dd></dd>
</dl>
</section>

<section>
<h5 class="typeParameters">Type Parameters</h5>
<dl class="cysharpdocfx-valuedefinition">
<dt><span class="parametername"><code>TRequest</code></span></dt>
<dd></dd>
<dt><span class="parametername"><code>TResponse</code></span></dt>
<dd></dd>
</dl>
</section>










</section>
<section>
<a id="MagicOnion_Client_StreamingHubClientBase_2_WriteMessageWithResponseValueTaskOfTAsync_" data-uid="MagicOnion.Client.StreamingHubClientBase`2.WriteMessageWithResponseValueTaskOfTAsync*"></a>
<h4 id="MagicOnion_Client_StreamingHubClientBase_2_WriteMessageWithResponseValueTaskOfTAsync__2_System_Int32___0_" data-uid="MagicOnion.Client.StreamingHubClientBase`2.WriteMessageWithResponseValueTaskOfTAsync``2(System.Int32,``0)">WriteMessageWithResponseValueTaskOfTAsync&lt;TRequest, TResponse&gt;(Int32, TRequest)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected ValueTask&lt;TResponse&gt; WriteMessageWithResponseValueTaskOfTAsync&lt;TRequest, TResponse&gt;(int methodId, TRequest message)</code></pre>
</div>

<section>
<h5 class="parameters">Parameters</h5>
<dl class="cysharpdocfx-valuedefinition">
<dt><span class="parametername"><code>methodId</code></span> <span class="xref">System.Int32</span></dt>
<dd></dd>
<dt><span class="parametername"><code>message</code></span> <span class="xref">TRequest</span></dt>
<dd></dd>
</dl>
</section>

<section>
<h5 class="returns">Returns</h5>
<dl class="cysharpdocfx-valuedefinition">
<dt><span class="xref">ValueTask</span>&lt;TResponse&gt;</dt>
<dd></dd>
</dl>
</section>

<section>
<h5 class="typeParameters">Type Parameters</h5>
<dl class="cysharpdocfx-valuedefinition">
<dt><span class="parametername"><code>TRequest</code></span></dt>
<dd></dd>
<dt><span class="parametername"><code>TResponse</code></span></dt>
<dd></dd>
</dl>
</section>










</section>


Expand Down
6 changes: 3 additions & 3 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
"output": {
".html": {
"relative_path": "api/MagicOnion.Client.IStreamingHubDiagnosticHandler.InvokeMethodDelegate-2.html",
"hash": "cjv1TDc7m7Teq9evHROhGOKFOOFI8WOsBm+MtB1Lcds="
"hash": "N08PvMd59Tk0KeFrtf6VLIXwW9GCQckH3dSirqwj1cc="
}
},
"is_incremental": false,
Expand All @@ -165,7 +165,7 @@
"output": {
".html": {
"relative_path": "api/MagicOnion.Client.IStreamingHubDiagnosticHandler.html",
"hash": "Pbab1RADZ78LSMuEgEyxj1h5IISVcXuag4zTh0fPwUs="
"hash": "1jknE9UItgwXmsSMLx/SUsCcv/KhvBrzWtM0kCq07qQ="
}
},
"is_incremental": false,
Expand Down Expand Up @@ -861,7 +861,7 @@
"output": {
".html": {
"relative_path": "api/MagicOnion.Client.StreamingHubClientBase-2.html",
"hash": "HCUi5YW2eb0KN8lofS1uERhkZ7vH2bec9LB7zd6Y6Jc="
"hash": "1E3+EYXPbLEipRVFE1Z4K2OeF01R+yxrHIOWlsNtLTk="
}
},
"is_incremental": false,
Expand Down
Loading

0 comments on commit a2d389b

Please sign in to comment.