Grpc.Core.DefaultCallInvoker.html 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633
  1. <!DOCTYPE html>
  2. <!--[if IE]><![endif]-->
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  7. <title>Class DefaultCallInvoker
  8. | gRPC C# </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class DefaultCallInvoker
  11. | gRPC C# ">
  12. <meta name="generator" content="docfx 2.23.1.0">
  13. <link rel="shortcut icon" href="../favicon.ico">
  14. <link rel="stylesheet" href="../styles/docfx.vendor.css">
  15. <link rel="stylesheet" href="../styles/docfx.css">
  16. <link rel="stylesheet" href="../styles/main.css">
  17. <meta property="docfx:navrel" content="../toc.html">
  18. <meta property="docfx:tocrel" content="toc.html">
  19. <meta property="docfx:rel" content="../">
  20. </head>
  21. <body data-spy="scroll" data-target="#affix">
  22. <div id="wrapper">
  23. <header>
  24. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  25. <div class="container">
  26. <div class="navbar-header">
  27. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  28. <span class="sr-only">Toggle navigation</span>
  29. <span class="icon-bar"></span>
  30. <span class="icon-bar"></span>
  31. <span class="icon-bar"></span>
  32. </button>
  33. <a class="navbar-brand" href="../index.html">
  34. <img id="logo" class="svg" src="../logo.svg" alt="">
  35. </a>
  36. </div>
  37. <div class="collapse navbar-collapse" id="navbar">
  38. <form class="navbar-form navbar-right" role="search" id="search">
  39. <div class="form-group">
  40. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  41. </div>
  42. </form>
  43. </div>
  44. </div>
  45. </nav>
  46. <div class="subnav navbar navbar-default">
  47. <div class="container hide-when-search" id="breadcrumb">
  48. <ul class="breadcrumb">
  49. <li></li>
  50. </ul>
  51. </div>
  52. </div>
  53. </header>
  54. <div class="container body-content">
  55. <div id="search-results">
  56. <div class="search-list"></div>
  57. <div class="sr-items"></div>
  58. <ul id="pagination"></ul>
  59. </div>
  60. </div>
  61. <div role="main" class="container body-content hide-when-search">
  62. <div class="sidenav hide-when-search">
  63. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  64. <div class="sidetoggle collapse" id="sidetoggle">
  65. <div id="sidetoc"></div>
  66. </div>
  67. </div>
  68. <div class="article row grid-right">
  69. <div class="col-md-10">
  70. <article class="content wrap" id="_content" data-uid="Grpc.Core.DefaultCallInvoker">
  71. <h1 id="Grpc_Core_DefaultCallInvoker" data-uid="Grpc.Core.DefaultCallInvoker" class="text-break">Class DefaultCallInvoker
  72. </h1>
  73. <div class="markdown level0 summary"><p>Invokes client RPCs using <a class="xref" href="Grpc.Core.Calls.html">Calls</a>.</p>
  74. </div>
  75. <div class="markdown level0 conceptual"></div>
  76. <div class="inheritance">
  77. <h5>Inheritance</h5>
  78. <div class="level0"><span class="xref">System.Object</span></div>
  79. <div class="level1"><a class="xref" href="Grpc.Core.CallInvoker.html">CallInvoker</a></div>
  80. <div class="level2"><span class="xref">DefaultCallInvoker</span></div>
  81. </div>
  82. <div class="inheritedMembers">
  83. <h5>Inherited Members</h5>
  84. <div>
  85. <span class="xref">System.Object.ToString()</span>
  86. </div>
  87. <div>
  88. <span class="xref">System.Object.Equals(System.Object)</span>
  89. </div>
  90. <div>
  91. <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
  92. </div>
  93. <div>
  94. <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
  95. </div>
  96. <div>
  97. <span class="xref">System.Object.GetHashCode()</span>
  98. </div>
  99. <div>
  100. <span class="xref">System.Object.GetType()</span>
  101. </div>
  102. <div>
  103. <span class="xref">System.Object.MemberwiseClone()</span>
  104. </div>
  105. </div>
  106. <h6><strong>Namespace</strong>: <a class="xref" href="Grpc.Core.html">Grpc.Core</a></h6>
  107. <h6><strong>Assembly</strong>: Grpc.Core.dll</h6>
  108. <h5 id="Grpc_Core_DefaultCallInvoker_syntax">Syntax</h5>
  109. <div class="codewrapper">
  110. <pre><code class="lang-csharp hljs">public class DefaultCallInvoker : CallInvoker</code></pre>
  111. </div>
  112. <h3 id="constructors">Constructors
  113. </h3>
  114. <a id="Grpc_Core_DefaultCallInvoker__ctor_" data-uid="Grpc.Core.DefaultCallInvoker.#ctor*"></a>
  115. <h4 id="Grpc_Core_DefaultCallInvoker__ctor_Grpc_Core_Channel_" data-uid="Grpc.Core.DefaultCallInvoker.#ctor(Grpc.Core.Channel)">DefaultCallInvoker(Channel)</h4>
  116. <div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="Grpc.Core.DefaultCallInvoker.html">DefaultCallInvoker</a> class.</p>
  117. </div>
  118. <div class="markdown level1 conceptual"></div>
  119. <h5 class="decalaration">Declaration</h5>
  120. <div class="codewrapper">
  121. <pre><code class="lang-csharp hljs">public DefaultCallInvoker(Channel channel)</code></pre>
  122. </div>
  123. <h5 class="parameters">Parameters</h5>
  124. <table class="table table-bordered table-striped table-condensed">
  125. <thead>
  126. <tr>
  127. <th>Type</th>
  128. <th>Name</th>
  129. <th>Description</th>
  130. </tr>
  131. </thead>
  132. <tbody>
  133. <tr>
  134. <td><a class="xref" href="Grpc.Core.Channel.html">Channel</a></td>
  135. <td><span class="parametername">channel</span></td>
  136. <td><p>Channel to use.</p>
  137. </td>
  138. </tr>
  139. </tbody>
  140. </table>
  141. <h3 id="methods">Methods
  142. </h3>
  143. <a id="Grpc_Core_DefaultCallInvoker_AsyncClientStreamingCall_" data-uid="Grpc.Core.DefaultCallInvoker.AsyncClientStreamingCall*"></a>
  144. <h4 id="Grpc_Core_DefaultCallInvoker_AsyncClientStreamingCall__2_Grpc_Core_Method___0___1__System_String_Grpc_Core_CallOptions_" data-uid="Grpc.Core.DefaultCallInvoker.AsyncClientStreamingCall``2(Grpc.Core.Method{``0,``1},System.String,Grpc.Core.CallOptions)">AsyncClientStreamingCall&lt;TRequest, TResponse&gt;(Method&lt;TRequest, TResponse&gt;, String, CallOptions)</h4>
  145. <div class="markdown level1 summary"><p>Invokes a client streaming call asynchronously.
  146. In client streaming scenario, client sends a stream of requests and server responds with a single response.</p>
  147. </div>
  148. <div class="markdown level1 conceptual"></div>
  149. <h5 class="decalaration">Declaration</h5>
  150. <div class="codewrapper">
  151. <pre><code class="lang-csharp hljs">public override AsyncClientStreamingCall&lt;TRequest, TResponse&gt; AsyncClientStreamingCall&lt;TRequest, TResponse&gt;(Method&lt;TRequest, TResponse&gt; method, string host, CallOptions options)where TRequest : class where TResponse : class</code></pre>
  152. </div>
  153. <h5 class="parameters">Parameters</h5>
  154. <table class="table table-bordered table-striped table-condensed">
  155. <thead>
  156. <tr>
  157. <th>Type</th>
  158. <th>Name</th>
  159. <th>Description</th>
  160. </tr>
  161. </thead>
  162. <tbody>
  163. <tr>
  164. <td><a class="xref" href="Grpc.Core.Method-2.html">Method</a>&lt;TRequest, TResponse&gt;</td>
  165. <td><span class="parametername">method</span></td>
  166. <td></td>
  167. </tr>
  168. <tr>
  169. <td><span class="xref">System.String</span></td>
  170. <td><span class="parametername">host</span></td>
  171. <td></td>
  172. </tr>
  173. <tr>
  174. <td><a class="xref" href="Grpc.Core.CallOptions.html">CallOptions</a></td>
  175. <td><span class="parametername">options</span></td>
  176. <td></td>
  177. </tr>
  178. </tbody>
  179. </table>
  180. <h5 class="returns">Returns</h5>
  181. <table class="table table-bordered table-striped table-condensed">
  182. <thead>
  183. <tr>
  184. <th>Type</th>
  185. <th>Description</th>
  186. </tr>
  187. </thead>
  188. <tbody>
  189. <tr>
  190. <td><a class="xref" href="Grpc.Core.AsyncClientStreamingCall-2.html">AsyncClientStreamingCall</a>&lt;TRequest, TResponse&gt;</td>
  191. <td></td>
  192. </tr>
  193. </tbody>
  194. </table>
  195. <h5 class="typeParameters">Type Parameters</h5>
  196. <table class="table table-bordered table-striped table-condensed">
  197. <thead>
  198. <tr>
  199. <th>Name</th>
  200. <th>Description</th>
  201. </tr>
  202. </thead>
  203. <tbody>
  204. <tr>
  205. <td><span class="parametername">TRequest</span></td>
  206. <td></td>
  207. </tr>
  208. <tr>
  209. <td><span class="parametername">TResponse</span></td>
  210. <td></td>
  211. </tr>
  212. </tbody>
  213. </table>
  214. <h5 class="overrides">Overrides</h5>
  215. <div><span class="xref">Grpc.Core.CallInvoker.AsyncClientStreamingCall&lt;TRequest, TResponse&gt;(Grpc.Core.Method&lt;TRequest, TResponse&gt;, System.String, Grpc.Core.CallOptions)</span></div>
  216. <a id="Grpc_Core_DefaultCallInvoker_AsyncDuplexStreamingCall_" data-uid="Grpc.Core.DefaultCallInvoker.AsyncDuplexStreamingCall*"></a>
  217. <h4 id="Grpc_Core_DefaultCallInvoker_AsyncDuplexStreamingCall__2_Grpc_Core_Method___0___1__System_String_Grpc_Core_CallOptions_" data-uid="Grpc.Core.DefaultCallInvoker.AsyncDuplexStreamingCall``2(Grpc.Core.Method{``0,``1},System.String,Grpc.Core.CallOptions)">AsyncDuplexStreamingCall&lt;TRequest, TResponse&gt;(Method&lt;TRequest, TResponse&gt;, String, CallOptions)</h4>
  218. <div class="markdown level1 summary"><p>Invokes a duplex streaming call asynchronously.
  219. In duplex streaming scenario, client sends a stream of requests and server responds with a stream of responses.
  220. The response stream is completely independent and both side can be sending messages at the same time.</p>
  221. </div>
  222. <div class="markdown level1 conceptual"></div>
  223. <h5 class="decalaration">Declaration</h5>
  224. <div class="codewrapper">
  225. <pre><code class="lang-csharp hljs">public override AsyncDuplexStreamingCall&lt;TRequest, TResponse&gt; AsyncDuplexStreamingCall&lt;TRequest, TResponse&gt;(Method&lt;TRequest, TResponse&gt; method, string host, CallOptions options)where TRequest : class where TResponse : class</code></pre>
  226. </div>
  227. <h5 class="parameters">Parameters</h5>
  228. <table class="table table-bordered table-striped table-condensed">
  229. <thead>
  230. <tr>
  231. <th>Type</th>
  232. <th>Name</th>
  233. <th>Description</th>
  234. </tr>
  235. </thead>
  236. <tbody>
  237. <tr>
  238. <td><a class="xref" href="Grpc.Core.Method-2.html">Method</a>&lt;TRequest, TResponse&gt;</td>
  239. <td><span class="parametername">method</span></td>
  240. <td></td>
  241. </tr>
  242. <tr>
  243. <td><span class="xref">System.String</span></td>
  244. <td><span class="parametername">host</span></td>
  245. <td></td>
  246. </tr>
  247. <tr>
  248. <td><a class="xref" href="Grpc.Core.CallOptions.html">CallOptions</a></td>
  249. <td><span class="parametername">options</span></td>
  250. <td></td>
  251. </tr>
  252. </tbody>
  253. </table>
  254. <h5 class="returns">Returns</h5>
  255. <table class="table table-bordered table-striped table-condensed">
  256. <thead>
  257. <tr>
  258. <th>Type</th>
  259. <th>Description</th>
  260. </tr>
  261. </thead>
  262. <tbody>
  263. <tr>
  264. <td><a class="xref" href="Grpc.Core.AsyncDuplexStreamingCall-2.html">AsyncDuplexStreamingCall</a>&lt;TRequest, TResponse&gt;</td>
  265. <td></td>
  266. </tr>
  267. </tbody>
  268. </table>
  269. <h5 class="typeParameters">Type Parameters</h5>
  270. <table class="table table-bordered table-striped table-condensed">
  271. <thead>
  272. <tr>
  273. <th>Name</th>
  274. <th>Description</th>
  275. </tr>
  276. </thead>
  277. <tbody>
  278. <tr>
  279. <td><span class="parametername">TRequest</span></td>
  280. <td></td>
  281. </tr>
  282. <tr>
  283. <td><span class="parametername">TResponse</span></td>
  284. <td></td>
  285. </tr>
  286. </tbody>
  287. </table>
  288. <h5 class="overrides">Overrides</h5>
  289. <div><span class="xref">Grpc.Core.CallInvoker.AsyncDuplexStreamingCall&lt;TRequest, TResponse&gt;(Grpc.Core.Method&lt;TRequest, TResponse&gt;, System.String, Grpc.Core.CallOptions)</span></div>
  290. <a id="Grpc_Core_DefaultCallInvoker_AsyncServerStreamingCall_" data-uid="Grpc.Core.DefaultCallInvoker.AsyncServerStreamingCall*"></a>
  291. <h4 id="Grpc_Core_DefaultCallInvoker_AsyncServerStreamingCall__2_Grpc_Core_Method___0___1__System_String_Grpc_Core_CallOptions___0_" data-uid="Grpc.Core.DefaultCallInvoker.AsyncServerStreamingCall``2(Grpc.Core.Method{``0,``1},System.String,Grpc.Core.CallOptions,``0)">AsyncServerStreamingCall&lt;TRequest, TResponse&gt;(Method&lt;TRequest, TResponse&gt;, String, CallOptions, TRequest)</h4>
  292. <div class="markdown level1 summary"><p>Invokes a server streaming call asynchronously.
  293. In server streaming scenario, client sends on request and server responds with a stream of responses.</p>
  294. </div>
  295. <div class="markdown level1 conceptual"></div>
  296. <h5 class="decalaration">Declaration</h5>
  297. <div class="codewrapper">
  298. <pre><code class="lang-csharp hljs">public override AsyncServerStreamingCall&lt;TResponse&gt; AsyncServerStreamingCall&lt;TRequest, TResponse&gt;(Method&lt;TRequest, TResponse&gt; method, string host, CallOptions options, TRequest request)where TRequest : class where TResponse : class</code></pre>
  299. </div>
  300. <h5 class="parameters">Parameters</h5>
  301. <table class="table table-bordered table-striped table-condensed">
  302. <thead>
  303. <tr>
  304. <th>Type</th>
  305. <th>Name</th>
  306. <th>Description</th>
  307. </tr>
  308. </thead>
  309. <tbody>
  310. <tr>
  311. <td><a class="xref" href="Grpc.Core.Method-2.html">Method</a>&lt;TRequest, TResponse&gt;</td>
  312. <td><span class="parametername">method</span></td>
  313. <td></td>
  314. </tr>
  315. <tr>
  316. <td><span class="xref">System.String</span></td>
  317. <td><span class="parametername">host</span></td>
  318. <td></td>
  319. </tr>
  320. <tr>
  321. <td><a class="xref" href="Grpc.Core.CallOptions.html">CallOptions</a></td>
  322. <td><span class="parametername">options</span></td>
  323. <td></td>
  324. </tr>
  325. <tr>
  326. <td><span class="xref">TRequest</span></td>
  327. <td><span class="parametername">request</span></td>
  328. <td></td>
  329. </tr>
  330. </tbody>
  331. </table>
  332. <h5 class="returns">Returns</h5>
  333. <table class="table table-bordered table-striped table-condensed">
  334. <thead>
  335. <tr>
  336. <th>Type</th>
  337. <th>Description</th>
  338. </tr>
  339. </thead>
  340. <tbody>
  341. <tr>
  342. <td><a class="xref" href="Grpc.Core.AsyncServerStreamingCall-1.html">AsyncServerStreamingCall</a>&lt;TResponse&gt;</td>
  343. <td></td>
  344. </tr>
  345. </tbody>
  346. </table>
  347. <h5 class="typeParameters">Type Parameters</h5>
  348. <table class="table table-bordered table-striped table-condensed">
  349. <thead>
  350. <tr>
  351. <th>Name</th>
  352. <th>Description</th>
  353. </tr>
  354. </thead>
  355. <tbody>
  356. <tr>
  357. <td><span class="parametername">TRequest</span></td>
  358. <td></td>
  359. </tr>
  360. <tr>
  361. <td><span class="parametername">TResponse</span></td>
  362. <td></td>
  363. </tr>
  364. </tbody>
  365. </table>
  366. <h5 class="overrides">Overrides</h5>
  367. <div><span class="xref">Grpc.Core.CallInvoker.AsyncServerStreamingCall&lt;TRequest, TResponse&gt;(Grpc.Core.Method&lt;TRequest, TResponse&gt;, System.String, Grpc.Core.CallOptions, TRequest)</span></div>
  368. <a id="Grpc_Core_DefaultCallInvoker_AsyncUnaryCall_" data-uid="Grpc.Core.DefaultCallInvoker.AsyncUnaryCall*"></a>
  369. <h4 id="Grpc_Core_DefaultCallInvoker_AsyncUnaryCall__2_Grpc_Core_Method___0___1__System_String_Grpc_Core_CallOptions___0_" data-uid="Grpc.Core.DefaultCallInvoker.AsyncUnaryCall``2(Grpc.Core.Method{``0,``1},System.String,Grpc.Core.CallOptions,``0)">AsyncUnaryCall&lt;TRequest, TResponse&gt;(Method&lt;TRequest, TResponse&gt;, String, CallOptions, TRequest)</h4>
  370. <div class="markdown level1 summary"><p>Invokes a simple remote call asynchronously.</p>
  371. </div>
  372. <div class="markdown level1 conceptual"></div>
  373. <h5 class="decalaration">Declaration</h5>
  374. <div class="codewrapper">
  375. <pre><code class="lang-csharp hljs">public override AsyncUnaryCall&lt;TResponse&gt; AsyncUnaryCall&lt;TRequest, TResponse&gt;(Method&lt;TRequest, TResponse&gt; method, string host, CallOptions options, TRequest request)where TRequest : class where TResponse : class</code></pre>
  376. </div>
  377. <h5 class="parameters">Parameters</h5>
  378. <table class="table table-bordered table-striped table-condensed">
  379. <thead>
  380. <tr>
  381. <th>Type</th>
  382. <th>Name</th>
  383. <th>Description</th>
  384. </tr>
  385. </thead>
  386. <tbody>
  387. <tr>
  388. <td><a class="xref" href="Grpc.Core.Method-2.html">Method</a>&lt;TRequest, TResponse&gt;</td>
  389. <td><span class="parametername">method</span></td>
  390. <td></td>
  391. </tr>
  392. <tr>
  393. <td><span class="xref">System.String</span></td>
  394. <td><span class="parametername">host</span></td>
  395. <td></td>
  396. </tr>
  397. <tr>
  398. <td><a class="xref" href="Grpc.Core.CallOptions.html">CallOptions</a></td>
  399. <td><span class="parametername">options</span></td>
  400. <td></td>
  401. </tr>
  402. <tr>
  403. <td><span class="xref">TRequest</span></td>
  404. <td><span class="parametername">request</span></td>
  405. <td></td>
  406. </tr>
  407. </tbody>
  408. </table>
  409. <h5 class="returns">Returns</h5>
  410. <table class="table table-bordered table-striped table-condensed">
  411. <thead>
  412. <tr>
  413. <th>Type</th>
  414. <th>Description</th>
  415. </tr>
  416. </thead>
  417. <tbody>
  418. <tr>
  419. <td><a class="xref" href="Grpc.Core.AsyncUnaryCall-1.html">AsyncUnaryCall</a>&lt;TResponse&gt;</td>
  420. <td></td>
  421. </tr>
  422. </tbody>
  423. </table>
  424. <h5 class="typeParameters">Type Parameters</h5>
  425. <table class="table table-bordered table-striped table-condensed">
  426. <thead>
  427. <tr>
  428. <th>Name</th>
  429. <th>Description</th>
  430. </tr>
  431. </thead>
  432. <tbody>
  433. <tr>
  434. <td><span class="parametername">TRequest</span></td>
  435. <td></td>
  436. </tr>
  437. <tr>
  438. <td><span class="parametername">TResponse</span></td>
  439. <td></td>
  440. </tr>
  441. </tbody>
  442. </table>
  443. <h5 class="overrides">Overrides</h5>
  444. <div><span class="xref">Grpc.Core.CallInvoker.AsyncUnaryCall&lt;TRequest, TResponse&gt;(Grpc.Core.Method&lt;TRequest, TResponse&gt;, System.String, Grpc.Core.CallOptions, TRequest)</span></div>
  445. <a id="Grpc_Core_DefaultCallInvoker_BlockingUnaryCall_" data-uid="Grpc.Core.DefaultCallInvoker.BlockingUnaryCall*"></a>
  446. <h4 id="Grpc_Core_DefaultCallInvoker_BlockingUnaryCall__2_Grpc_Core_Method___0___1__System_String_Grpc_Core_CallOptions___0_" data-uid="Grpc.Core.DefaultCallInvoker.BlockingUnaryCall``2(Grpc.Core.Method{``0,``1},System.String,Grpc.Core.CallOptions,``0)">BlockingUnaryCall&lt;TRequest, TResponse&gt;(Method&lt;TRequest, TResponse&gt;, String, CallOptions, TRequest)</h4>
  447. <div class="markdown level1 summary"><p>Invokes a simple remote call in a blocking fashion.</p>
  448. </div>
  449. <div class="markdown level1 conceptual"></div>
  450. <h5 class="decalaration">Declaration</h5>
  451. <div class="codewrapper">
  452. <pre><code class="lang-csharp hljs">public override TResponse BlockingUnaryCall&lt;TRequest, TResponse&gt;(Method&lt;TRequest, TResponse&gt; method, string host, CallOptions options, TRequest request)where TRequest : class where TResponse : class</code></pre>
  453. </div>
  454. <h5 class="parameters">Parameters</h5>
  455. <table class="table table-bordered table-striped table-condensed">
  456. <thead>
  457. <tr>
  458. <th>Type</th>
  459. <th>Name</th>
  460. <th>Description</th>
  461. </tr>
  462. </thead>
  463. <tbody>
  464. <tr>
  465. <td><a class="xref" href="Grpc.Core.Method-2.html">Method</a>&lt;TRequest, TResponse&gt;</td>
  466. <td><span class="parametername">method</span></td>
  467. <td></td>
  468. </tr>
  469. <tr>
  470. <td><span class="xref">System.String</span></td>
  471. <td><span class="parametername">host</span></td>
  472. <td></td>
  473. </tr>
  474. <tr>
  475. <td><a class="xref" href="Grpc.Core.CallOptions.html">CallOptions</a></td>
  476. <td><span class="parametername">options</span></td>
  477. <td></td>
  478. </tr>
  479. <tr>
  480. <td><span class="xref">TRequest</span></td>
  481. <td><span class="parametername">request</span></td>
  482. <td></td>
  483. </tr>
  484. </tbody>
  485. </table>
  486. <h5 class="returns">Returns</h5>
  487. <table class="table table-bordered table-striped table-condensed">
  488. <thead>
  489. <tr>
  490. <th>Type</th>
  491. <th>Description</th>
  492. </tr>
  493. </thead>
  494. <tbody>
  495. <tr>
  496. <td><span class="xref">TResponse</span></td>
  497. <td></td>
  498. </tr>
  499. </tbody>
  500. </table>
  501. <h5 class="typeParameters">Type Parameters</h5>
  502. <table class="table table-bordered table-striped table-condensed">
  503. <thead>
  504. <tr>
  505. <th>Name</th>
  506. <th>Description</th>
  507. </tr>
  508. </thead>
  509. <tbody>
  510. <tr>
  511. <td><span class="parametername">TRequest</span></td>
  512. <td></td>
  513. </tr>
  514. <tr>
  515. <td><span class="parametername">TResponse</span></td>
  516. <td></td>
  517. </tr>
  518. </tbody>
  519. </table>
  520. <h5 class="overrides">Overrides</h5>
  521. <div><span class="xref">Grpc.Core.CallInvoker.BlockingUnaryCall&lt;TRequest, TResponse&gt;(Grpc.Core.Method&lt;TRequest, TResponse&gt;, System.String, Grpc.Core.CallOptions, TRequest)</span></div>
  522. <a id="Grpc_Core_DefaultCallInvoker_CreateCall_" data-uid="Grpc.Core.DefaultCallInvoker.CreateCall*"></a>
  523. <h4 id="Grpc_Core_DefaultCallInvoker_CreateCall__2_Grpc_Core_Method___0___1__System_String_Grpc_Core_CallOptions_" data-uid="Grpc.Core.DefaultCallInvoker.CreateCall``2(Grpc.Core.Method{``0,``1},System.String,Grpc.Core.CallOptions)">CreateCall&lt;TRequest, TResponse&gt;(Method&lt;TRequest, TResponse&gt;, String, CallOptions)</h4>
  524. <div class="markdown level1 summary"><p>Creates call invocation details for given method.</p>
  525. </div>
  526. <div class="markdown level1 conceptual"></div>
  527. <h5 class="decalaration">Declaration</h5>
  528. <div class="codewrapper">
  529. <pre><code class="lang-csharp hljs">protected virtual CallInvocationDetails&lt;TRequest, TResponse&gt; CreateCall&lt;TRequest, TResponse&gt;(Method&lt;TRequest, TResponse&gt; method, string host, CallOptions options)where TRequest : class where TResponse : class</code></pre>
  530. </div>
  531. <h5 class="parameters">Parameters</h5>
  532. <table class="table table-bordered table-striped table-condensed">
  533. <thead>
  534. <tr>
  535. <th>Type</th>
  536. <th>Name</th>
  537. <th>Description</th>
  538. </tr>
  539. </thead>
  540. <tbody>
  541. <tr>
  542. <td><a class="xref" href="Grpc.Core.Method-2.html">Method</a>&lt;TRequest, TResponse&gt;</td>
  543. <td><span class="parametername">method</span></td>
  544. <td></td>
  545. </tr>
  546. <tr>
  547. <td><span class="xref">System.String</span></td>
  548. <td><span class="parametername">host</span></td>
  549. <td></td>
  550. </tr>
  551. <tr>
  552. <td><a class="xref" href="Grpc.Core.CallOptions.html">CallOptions</a></td>
  553. <td><span class="parametername">options</span></td>
  554. <td></td>
  555. </tr>
  556. </tbody>
  557. </table>
  558. <h5 class="returns">Returns</h5>
  559. <table class="table table-bordered table-striped table-condensed">
  560. <thead>
  561. <tr>
  562. <th>Type</th>
  563. <th>Description</th>
  564. </tr>
  565. </thead>
  566. <tbody>
  567. <tr>
  568. <td><a class="xref" href="Grpc.Core.CallInvocationDetails-2.html">CallInvocationDetails</a>&lt;TRequest, TResponse&gt;</td>
  569. <td></td>
  570. </tr>
  571. </tbody>
  572. </table>
  573. <h5 class="typeParameters">Type Parameters</h5>
  574. <table class="table table-bordered table-striped table-condensed">
  575. <thead>
  576. <tr>
  577. <th>Name</th>
  578. <th>Description</th>
  579. </tr>
  580. </thead>
  581. <tbody>
  582. <tr>
  583. <td><span class="parametername">TRequest</span></td>
  584. <td></td>
  585. </tr>
  586. <tr>
  587. <td><span class="parametername">TResponse</span></td>
  588. <td></td>
  589. </tr>
  590. </tbody>
  591. </table>
  592. </article>
  593. </div>
  594. <div class="hidden-sm col-md-2" role="complementary">
  595. <div class="sideaffix">
  596. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  597. <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
  598. </nav>
  599. </div>
  600. </div>
  601. </div>
  602. </div>
  603. <footer>
  604. <div class="grad-bottom"></div>
  605. <div class="footer">
  606. <div class="container">
  607. <span class="pull-right">
  608. <a href="#top">Back to top</a>
  609. </span>
  610. <span>Copyright © 2015-2017 Microsoft<br>Generated by <strong>DocFX</strong></span>
  611. </div>
  612. </div>
  613. </footer>
  614. </div>
  615. <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
  616. <script type="text/javascript" src="../styles/docfx.js"></script>
  617. <script type="text/javascript" src="../styles/main.js"></script>
  618. </body>
  619. </html>