glossary.html 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <title>Glossary &#8212; gRPC Python 1.29.0 documentation</title>
  6. <link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
  7. <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
  8. <script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
  9. <script src="_static/jquery.js"></script>
  10. <script src="_static/underscore.js"></script>
  11. <script src="_static/doctools.js"></script>
  12. <script src="_static/language_data.js"></script>
  13. <link rel="index" title="Index" href="genindex.html" />
  14. <link rel="search" title="Search" href="search.html" />
  15. <link rel="prev" title="gRPC Testing" href="grpc_testing.html" />
  16. <link rel="stylesheet" href="_static/custom.css" type="text/css" />
  17. <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
  18. </head><body>
  19. <div class="document">
  20. <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
  21. <div class="sphinxsidebarwrapper">
  22. <h1 class="logo"><a href="index.html">gRPC Python</a></h1>
  23. <p class="blurb">1.29.0</p>
  24. <h3>Navigation</h3>
  25. <p class="caption"><span class="caption-text">Contents:</span></p>
  26. <ul class="current">
  27. <li class="toctree-l1"><a class="reference internal" href="grpc.html">gRPC</a></li>
  28. <li class="toctree-l1"><a class="reference internal" href="grpc_asyncio.html">gRPC AsyncIO API</a></li>
  29. <li class="toctree-l1"><a class="reference internal" href="grpc_channelz.html">gRPC Channelz</a></li>
  30. <li class="toctree-l1"><a class="reference internal" href="grpc_health_checking.html">gRPC Health Checking</a></li>
  31. <li class="toctree-l1"><a class="reference internal" href="grpc_reflection.html">gRPC Reflection</a></li>
  32. <li class="toctree-l1"><a class="reference internal" href="grpc_status.html">gRPC Status</a></li>
  33. <li class="toctree-l1"><a class="reference internal" href="grpc_testing.html">gRPC Testing</a></li>
  34. <li class="toctree-l1 current"><a class="current reference internal" href="#">Glossary</a></li>
  35. </ul>
  36. <div class="relations">
  37. <h3>Related Topics</h3>
  38. <ul>
  39. <li><a href="index.html">Documentation overview</a><ul>
  40. <li>Previous: <a href="grpc_testing.html" title="previous chapter">gRPC Testing</a></li>
  41. </ul></li>
  42. </ul>
  43. </div>
  44. <div id="searchbox" style="display: none" role="search">
  45. <h3 id="searchlabel">Quick search</h3>
  46. <div class="searchformwrapper">
  47. <form class="search" action="search.html" method="get">
  48. <input type="text" name="q" aria-labelledby="searchlabel" />
  49. <input type="submit" value="Go" />
  50. </form>
  51. </div>
  52. </div>
  53. <script>$('#searchbox').show(0);</script>
  54. </div>
  55. </div>
  56. <div class="documentwrapper">
  57. <div class="bodywrapper">
  58. <div class="body" role="main">
  59. <div class="section" id="glossary">
  60. <h1>Glossary<a class="headerlink" href="#glossary" title="Permalink to this headline">¶</a></h1>
  61. <dl class="glossary simple">
  62. <dt id="term-metadatum">metadatum</dt><dd><p>A key-value pair included in the HTTP header. It is a
  63. 2-tuple where the first entry is the key and the
  64. second is the value, i.e. (key, value). The metadata key is an ASCII str,
  65. and must be a valid HTTP header name. The metadata value can be
  66. either a valid HTTP ASCII str, or bytes. If bytes are provided,
  67. the key must end with ‘-bin’, i.e.
  68. <code class="docutils literal notranslate"><span class="pre">('binary-metadata-bin',</span> <span class="pre">b'\\x00\\xFF')</span></code></p>
  69. </dd>
  70. <dt id="term-metadata">metadata</dt><dd><p>A sequence of metadatum.</p>
  71. </dd>
  72. <dt id="term-serializer">serializer</dt><dd><p>A callable function that encodes an object into bytes. Applications are
  73. allowed to provide any customized serializer, so there isn’t a restriction
  74. for the input object (i.e. even <code class="docutils literal notranslate"><span class="pre">None</span></code>). On the server-side, the
  75. serializer is invoked with server handler’s return value; on the
  76. client-side, the serializer is invoked with outbound message objects.</p>
  77. </dd>
  78. <dt id="term-deserializer">deserializer</dt><dd><p>A callable function that decodes bytes into an object. Same as serializer,
  79. the returned object doesn’t have restrictions (i.e. <code class="docutils literal notranslate"><span class="pre">None</span></code> allowed). The
  80. deserializer is invoked with inbound message bytes on both the server side
  81. and the client-side.</p>
  82. </dd>
  83. </dl>
  84. </div>
  85. </div>
  86. </div>
  87. </div>
  88. <div class="clearer"></div>
  89. </div>
  90. <div class="footer">
  91. &copy;2018, The gRPC Authors.
  92. |
  93. <a href="_sources/glossary.rst.txt"
  94. rel="nofollow">Page source</a>
  95. </div>
  96. <script type="text/javascript">
  97. var _gaq = _gaq || [];
  98. _gaq.push(['_setAccount', 'UA-60127042-1']);
  99. _gaq.push(['_setDomainName', 'none']);
  100. _gaq.push(['_setAllowLinker', true]);
  101. _gaq.push(['_trackPageview']);
  102. (function() {
  103. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  104. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  105. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  106. })();
  107. </script>
  108. </body>
  109. </html>