Grpc.Core.DefaultCallInvoker.html 25 KB

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