|
@@ -8,7 +8,7 @@
|
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
|
|
- <title>grpc package — grpcio 1.0.0 documentation</title>
|
|
|
+ <title>grpc package — grpcio 1.0.1rc1 documentation</title>
|
|
|
|
|
|
|
|
|
|
|
@@ -30,7 +30,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
- <link rel="top" title="grpcio 1.0.0 documentation" href="index.html"/>
|
|
|
+ <link rel="index" title="Index"
|
|
|
+ href="genindex.html"/>
|
|
|
+ <link rel="search" title="Search" href="search.html"/>
|
|
|
+ <link rel="top" title="grpcio 1.0.1rc1 documentation" href="index.html"/>
|
|
|
<link rel="next" title="grpc.beta package" href="grpc.beta.html"/>
|
|
|
<link rel="prev" title="Welcome to grpcio’s documentation!" href="index.html"/>
|
|
|
|
|
@@ -61,7 +64,7 @@
|
|
|
|
|
|
|
|
|
<div class="version">
|
|
|
- 1.0.0
|
|
|
+ 1.0.1rc1
|
|
|
</div>
|
|
|
|
|
|
|
|
@@ -82,7 +85,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
- <ul class="current">
|
|
|
+ <p class="caption"><span class="caption-text">Contents:</span></p>
|
|
|
+<ul class="current">
|
|
|
<li class="toctree-l1 current"><a class="current reference internal" href="#">grpc package</a><ul>
|
|
|
<li class="toctree-l2"><a class="reference internal" href="#subpackages">Subpackages</a><ul>
|
|
|
<li class="toctree-l3"><a class="reference internal" href="grpc.beta.html">grpc.beta package</a></li>
|
|
@@ -131,7 +135,7 @@
|
|
|
<li class="wy-breadcrumbs-aside">
|
|
|
|
|
|
|
|
|
- <a href="_sources/grpc.txt" rel="nofollow"> View page source</a>
|
|
|
+ <a href="_sources/grpc.rst.txt" rel="nofollow"> View page source</a>
|
|
|
|
|
|
|
|
|
</li>
|
|
@@ -1102,9 +1106,17 @@ RpcError indicating termination of the RPC with non-OK status.</p>
|
|
|
<col class="field-name" />
|
|
|
<col class="field-body" />
|
|
|
<tbody valign="top">
|
|
|
-<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>method</strong> – The name of the RPC method.</td>
|
|
|
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
|
|
|
+<li><strong>method</strong> – The name of the RPC method.</li>
|
|
|
+<li><strong>request_serializer</strong> – Optional behaviour for serializing the request
|
|
|
+message. Request goes unserialized in case None is passed.</li>
|
|
|
+<li><strong>response_deserializer</strong> – Optional behaviour for deserializing the response
|
|
|
+message. Response goes undeserialized in case None is passed.</li>
|
|
|
+</ul>
|
|
|
+</td>
|
|
|
</tr>
|
|
|
-<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">A StreamStreamMultiCallable value for the named stream-stream method.</td>
|
|
|
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">A StreamStreamMultiCallable value for the named stream-stream method.</p>
|
|
|
+</td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
@@ -1118,9 +1130,17 @@ RpcError indicating termination of the RPC with non-OK status.</p>
|
|
|
<col class="field-name" />
|
|
|
<col class="field-body" />
|
|
|
<tbody valign="top">
|
|
|
-<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>method</strong> – The name of the RPC method.</td>
|
|
|
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
|
|
|
+<li><strong>method</strong> – The name of the RPC method.</li>
|
|
|
+<li><strong>request_serializer</strong> – Optional behaviour for serializing the request
|
|
|
+message. Request goes unserialized in case None is passed.</li>
|
|
|
+<li><strong>response_deserializer</strong> – Optional behaviour for deserializing the response
|
|
|
+message. Response goes undeserialized in case None is passed.</li>
|
|
|
+</ul>
|
|
|
+</td>
|
|
|
</tr>
|
|
|
-<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">A StreamUnaryMultiCallable value for the named stream-unary method.</td>
|
|
|
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">A StreamUnaryMultiCallable value for the named stream-unary method.</p>
|
|
|
+</td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
@@ -1158,9 +1178,17 @@ RPCs.</li>
|
|
|
<col class="field-name" />
|
|
|
<col class="field-body" />
|
|
|
<tbody valign="top">
|
|
|
-<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>method</strong> – The name of the RPC method.</td>
|
|
|
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
|
|
|
+<li><strong>method</strong> – The name of the RPC method.</li>
|
|
|
+<li><strong>request_serializer</strong> – Optional behaviour for serializing the request
|
|
|
+message. Request goes unserialized in case None is passed.</li>
|
|
|
+<li><strong>response_deserializer</strong> – Optional behaviour for deserializing the response
|
|
|
+message. Response goes undeserialized in case None is passed.</li>
|
|
|
+</ul>
|
|
|
+</td>
|
|
|
</tr>
|
|
|
-<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">A UnaryStreamMultiCallable value for the name unary-stream method.</td>
|
|
|
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">A UnaryStreamMultiCallable value for the name unary-stream method.</p>
|
|
|
+</td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
@@ -1174,9 +1202,17 @@ RPCs.</li>
|
|
|
<col class="field-name" />
|
|
|
<col class="field-body" />
|
|
|
<tbody valign="top">
|
|
|
-<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>method</strong> – The name of the RPC method.</td>
|
|
|
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
|
|
|
+<li><strong>method</strong> – The name of the RPC method.</li>
|
|
|
+<li><strong>request_serializer</strong> – Optional behaviour for serializing the request
|
|
|
+message. Request goes unserialized in case None is passed.</li>
|
|
|
+<li><strong>response_deserializer</strong> – Optional behaviour for deserializing the response
|
|
|
+message. Response goes undeserialized in case None is passed.</li>
|
|
|
+</ul>
|
|
|
+</td>
|
|
|
</tr>
|
|
|
-<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">A UnaryUnaryMultiCallable value for the named unary-unary method.</td>
|
|
|
+<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">A UnaryUnaryMultiCallable value for the named unary-unary method.</p>
|
|
|
+</td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
@@ -1725,7 +1761,7 @@ in the created CallCredentials.</li>
|
|
|
<col class="field-body" />
|
|
|
<tbody valign="top">
|
|
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>access_token</strong> – A string to place directly in the http request
|
|
|
-authorization header, ie “Authorization: Bearer <access_token>”.</td>
|
|
|
+authorization header, ie “authorization: Bearer <access_token>”.</td>
|
|
|
</tr>
|
|
|
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">A CallCredentials.</td>
|
|
|
</tr>
|
|
@@ -1851,7 +1887,7 @@ the created channel.</li>
|
|
|
<dl class="function">
|
|
|
<dt id="grpc.secure_channel">
|
|
|
<code class="descclassname">grpc.</code><code class="descname">secure_channel</code><span class="sig-paren">(</span><em>target</em>, <em>credentials</em>, <em>options=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/grpc.html#secure_channel"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#grpc.secure_channel" title="Permalink to this definition">¶</a></dt>
|
|
|
-<dd><p>Creates an insecure Channel to a server.</p>
|
|
|
+<dd><p>Creates a secure Channel to a server.</p>
|
|
|
<table class="docutils field-list" frame="void" rules="none">
|
|
|
<col class="field-name" />
|
|
|
<col class="field-body" />
|
|
@@ -1956,7 +1992,7 @@ the key must end with ‘-bin’, i.e.
|
|
|
<script type="text/javascript">
|
|
|
var DOCUMENTATION_OPTIONS = {
|
|
|
URL_ROOT:'./',
|
|
|
- VERSION:'1.0.0',
|
|
|
+ VERSION:'1.0.1rc1',
|
|
|
COLLAPSE_INDEX:false,
|
|
|
FILE_SUFFIX:'.html',
|
|
|
HAS_SOURCE: true
|