Skip to content

Commit 0636bcc

Browse files
committed
Regenerate proxy.md
1 parent 3ffd6b1 commit 0636bcc

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

proxy.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1244,10 +1244,13 @@ the <code>get</code> method will return <code>some</code>.</p>
12441244
once the future is ready.</p>
12451245
<p>The outer <code>option</code> represents future readiness. Users can wait on this
12461246
<code>option</code> to become <code>some</code> using the <code>subscribe</code> method.</p>
1247-
<p>The <code>result</code> represents that either the HTTP Request or Response body,
1248-
as well as any trailers, were received successfully, or that an error
1249-
occured receiving them. The optional <a href="#trailers"><code>trailers</code></a> indicates whether or not
1250-
trailers were present in the body.</p>
1247+
<p>The outer <code>result</code> is used to retrieve the trailers or error at most
1248+
once. It will be success on the first call in which the outer option
1249+
is <code>some</code>, and error on subsequent calls.</p>
1250+
<p>The inner <code>result</code> represents that either the HTTP Request or Response
1251+
body, as well as any trailers, were received successfully, or that an
1252+
error occured receiving them. The optional <a href="#trailers"><code>trailers</code></a> indicates whether
1253+
or not trailers were present in the body.</p>
12511254
<p>When some <a href="#trailers"><code>trailers</code></a> are returned by this method, the <a href="#trailers"><code>trailers</code></a>
12521255
resource is immutable, and a child. Use of the <code>set</code>, <code>append</code>, or
12531256
<code>delete</code> methods will return an error, and the resource must be
@@ -1258,7 +1261,7 @@ dropped before the parent <a href="#future_trailers"><code>future-trailers</code
12581261
</ul>
12591262
<h5>Return values</h5>
12601263
<ul>
1261-
<li><a name="method_future_trailers.get.0"></a> option&lt;result&lt;option&lt;own&lt;<a href="#trailers"><a href="#trailers"><code>trailers</code></a></a>&gt;&gt;, <a href="#error_code"><a href="#error_code"><code>error-code</code></a></a>&gt;&gt;</li>
1264+
<li><a name="method_future_trailers.get.0"></a> option&lt;result&lt;result&lt;option&lt;own&lt;<a href="#trailers"><a href="#trailers"><code>trailers</code></a></a>&gt;&gt;, <a href="#error_code"><a href="#error_code"><code>error-code</code></a></a>&gt;&gt;&gt;</li>
12621265
</ul>
12631266
<h4><a name="constructor_outgoing_response"><code>[constructor]outgoing-response: func</code></a></h4>
12641267
<p>Construct an <a href="#outgoing_response"><code>outgoing-response</code></a>, with a default <a href="#status_code"><code>status-code</code></a> of <code>200</code>.

0 commit comments

Comments
 (0)