Added Packages
This commit is contained in:
BIN
3d Prototyp/Assets/Packages/Grpc.Net.Client.2.60.0/.signature.p7s
vendored
Normal file
BIN
3d Prototyp/Assets/Packages/Grpc.Net.Client.2.60.0/.signature.p7s
vendored
Normal file
Binary file not shown.
47
3d Prototyp/Assets/Packages/Grpc.Net.Client.2.60.0/Grpc.Net.Client.nuspec
vendored
Normal file
47
3d Prototyp/Assets/Packages/Grpc.Net.Client.2.60.0/Grpc.Net.Client.nuspec
vendored
Normal file
@ -0,0 +1,47 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>Grpc.Net.Client</id>
|
||||
<version>2.60.0</version>
|
||||
<authors>The gRPC Authors</authors>
|
||||
<license type="expression">Apache-2.0</license>
|
||||
<licenseUrl>https://licenses.nuget.org/Apache-2.0</licenseUrl>
|
||||
<icon>packageIcon.png</icon>
|
||||
<readme>README.md</readme>
|
||||
<projectUrl>https://github.com/grpc/grpc-dotnet</projectUrl>
|
||||
<description>.NET client for gRPC</description>
|
||||
<copyright>Copyright 2019 The gRPC Authors</copyright>
|
||||
<tags>gRPC RPC HTTP/2</tags>
|
||||
<repository type="git" url="https://github.com/grpc/grpc-dotnet.git" commit="6eccb614c532d52c1569ce9f14754fdc826609ef" />
|
||||
<dependencies>
|
||||
<group targetFramework=".NETFramework4.6.2">
|
||||
<dependency id="Grpc.Net.Common" version="2.60.0" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.Abstractions" version="6.0.0" exclude="Build,Analyzers" />
|
||||
<dependency id="System.Diagnostics.DiagnosticSource" version="6.0.1" exclude="Build,Analyzers" />
|
||||
<dependency id="System.Net.Http.WinHttpHandler" version="7.0.0" exclude="Build,Analyzers" />
|
||||
</group>
|
||||
<group targetFramework="net6.0">
|
||||
<dependency id="Grpc.Net.Common" version="2.60.0" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.Abstractions" version="6.0.0" exclude="Build,Analyzers" />
|
||||
</group>
|
||||
<group targetFramework="net7.0">
|
||||
<dependency id="Grpc.Net.Common" version="2.60.0" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.Abstractions" version="6.0.0" exclude="Build,Analyzers" />
|
||||
</group>
|
||||
<group targetFramework="net8.0">
|
||||
<dependency id="Grpc.Net.Common" version="2.60.0" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.Abstractions" version="6.0.0" exclude="Build,Analyzers" />
|
||||
</group>
|
||||
<group targetFramework=".NETStandard2.0">
|
||||
<dependency id="Grpc.Net.Common" version="2.60.0" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.Abstractions" version="6.0.0" exclude="Build,Analyzers" />
|
||||
<dependency id="System.Diagnostics.DiagnosticSource" version="6.0.1" exclude="Build,Analyzers" />
|
||||
</group>
|
||||
<group targetFramework=".NETStandard2.1">
|
||||
<dependency id="Grpc.Net.Common" version="2.60.0" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.Abstractions" version="6.0.0" exclude="Build,Analyzers" />
|
||||
<dependency id="System.Diagnostics.DiagnosticSource" version="6.0.1" exclude="Build,Analyzers" />
|
||||
</group>
|
||||
</dependencies>
|
||||
</metadata>
|
||||
</package>
|
||||
7
3d Prototyp/Assets/Packages/Grpc.Net.Client.2.60.0/Grpc.Net.Client.nuspec.meta
vendored
Normal file
7
3d Prototyp/Assets/Packages/Grpc.Net.Client.2.60.0/Grpc.Net.Client.nuspec.meta
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bf01e1b06c68ff74f9f3e963dbf48267
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
151
3d Prototyp/Assets/Packages/Grpc.Net.Client.2.60.0/README.md
vendored
Normal file
151
3d Prototyp/Assets/Packages/Grpc.Net.Client.2.60.0/README.md
vendored
Normal file
@ -0,0 +1,151 @@
|
||||
# Grpc.Net.Client
|
||||
|
||||
`Grpc.Net.Client` is a gRPC client library for .NET.
|
||||
|
||||
## Configure gRPC client
|
||||
|
||||
gRPC clients are concrete client types that are [generated from `.proto` files](https://docs.microsoft.com/aspnet/core/grpc/basics#generated-c-assets). The concrete gRPC client has methods that translate to the gRPC service in the `.proto` file. For example, a service called `Greeter` generates a `GreeterClient` type with methods to call the service.
|
||||
|
||||
A gRPC client is created from a channel. Start by using `GrpcChannel.ForAddress` to create a channel, and then use the channel to create a gRPC client:
|
||||
|
||||
```csharp
|
||||
var channel = GrpcChannel.ForAddress("https://localhost:5001");
|
||||
var client = new Greet.GreeterClient(channel);
|
||||
```
|
||||
|
||||
A channel represents a long-lived connection to a gRPC service. When a channel is created, it's configured with options related to calling a service. For example, the `HttpClient` used to make calls, the maximum send and receive message size, and logging can be specified on `GrpcChannelOptions` and used with `GrpcChannel.ForAddress`. For a complete list of options, see [client configuration options](https://docs.microsoft.com/aspnet/core/grpc/configuration#configure-client-options).
|
||||
|
||||
```csharp
|
||||
var channel = GrpcChannel.ForAddress("https://localhost:5001");
|
||||
|
||||
var greeterClient = new Greet.GreeterClient(channel);
|
||||
var counterClient = new Count.CounterClient(channel);
|
||||
|
||||
// Use clients to call gRPC services
|
||||
```
|
||||
|
||||
## Make gRPC calls
|
||||
|
||||
A gRPC call is initiated by calling a method on the client. The gRPC client will handle message serialization and addressing the gRPC call to the correct service.
|
||||
|
||||
gRPC has different types of methods. How the client is used to make a gRPC call depends on the type of method called. The gRPC method types are:
|
||||
|
||||
* Unary
|
||||
* Server streaming
|
||||
* Client streaming
|
||||
* Bi-directional streaming
|
||||
|
||||
### Unary call
|
||||
|
||||
A unary call starts with the client sending a request message. A response message is returned when the service finishes.
|
||||
|
||||
```csharp
|
||||
var client = new Greet.GreeterClient(channel);
|
||||
var response = await client.SayHelloAsync(new HelloRequest { Name = "World" });
|
||||
|
||||
Console.WriteLine("Greeting: " + response.Message);
|
||||
// Greeting: Hello World
|
||||
```
|
||||
|
||||
Each unary service method in the `.proto` file will result in two .NET methods on the concrete gRPC client type for calling the method: an asynchronous method and a blocking method. For example, on `GreeterClient` there are two ways of calling `SayHello`:
|
||||
|
||||
* `GreeterClient.SayHelloAsync` - calls `Greeter.SayHello` service asynchronously. Can be awaited.
|
||||
* `GreeterClient.SayHello` - calls `Greeter.SayHello` service and blocks until complete. Don't use in asynchronous code.
|
||||
|
||||
### Server streaming call
|
||||
|
||||
A server streaming call starts with the client sending a request message. `ResponseStream.MoveNext()` reads messages streamed from the service. The server streaming call is complete when `ResponseStream.MoveNext()` returns `false`.
|
||||
|
||||
```csharp
|
||||
var client = new Greet.GreeterClient(channel);
|
||||
using var call = client.SayHellos(new HelloRequest { Name = "World" });
|
||||
|
||||
while (await call.ResponseStream.MoveNext())
|
||||
{
|
||||
Console.WriteLine("Greeting: " + call.ResponseStream.Current.Message);
|
||||
// "Greeting: Hello World" is written multiple times
|
||||
}
|
||||
```
|
||||
|
||||
When using C# 8 or later, the `await foreach` syntax can be used to read messages. The `IAsyncStreamReader<T>.ReadAllAsync()` extension method reads all messages from the response stream:
|
||||
|
||||
```csharp
|
||||
var client = new Greet.GreeterClient(channel);
|
||||
using var call = client.SayHellos(new HelloRequest { Name = "World" });
|
||||
|
||||
await foreach (var response in call.ResponseStream.ReadAllAsync())
|
||||
{
|
||||
Console.WriteLine("Greeting: " + response.Message);
|
||||
// "Greeting: Hello World" is written multiple times
|
||||
}
|
||||
```
|
||||
|
||||
### Client streaming call
|
||||
|
||||
A client streaming call starts *without* the client sending a message. The client can choose to send messages with `RequestStream.WriteAsync`. When the client has finished sending messages, `RequestStream.CompleteAsync()` should be called to notify the service. The call is finished when the service returns a response message.
|
||||
|
||||
```csharp
|
||||
var client = new Counter.CounterClient(channel);
|
||||
using var call = client.AccumulateCount();
|
||||
|
||||
for (var i = 0; i < 3; i++)
|
||||
{
|
||||
await call.RequestStream.WriteAsync(new CounterRequest { Count = 1 });
|
||||
}
|
||||
await call.RequestStream.CompleteAsync();
|
||||
|
||||
var response = await call;
|
||||
Console.WriteLine($"Count: {response.Count}");
|
||||
// Count: 3
|
||||
```
|
||||
|
||||
### Bi-directional streaming call
|
||||
|
||||
A bi-directional streaming call starts *without* the client sending a message. The client can choose to send messages with `RequestStream.WriteAsync`. Messages streamed from the service are accessible with `ResponseStream.MoveNext()` or `ResponseStream.ReadAllAsync()`. The bi-directional streaming call is complete when the `ResponseStream` has no more messages.
|
||||
|
||||
```csharp
|
||||
var client = new Echo.EchoClient(channel);
|
||||
using var call = client.Echo();
|
||||
|
||||
Console.WriteLine("Starting background task to receive messages");
|
||||
var readTask = Task.Run(async () =>
|
||||
{
|
||||
await foreach (var response in call.ResponseStream.ReadAllAsync())
|
||||
{
|
||||
Console.WriteLine(response.Message);
|
||||
// Echo messages sent to the service
|
||||
}
|
||||
});
|
||||
|
||||
Console.WriteLine("Starting to send messages");
|
||||
Console.WriteLine("Type a message to echo then press enter.");
|
||||
while (true)
|
||||
{
|
||||
var result = Console.ReadLine();
|
||||
if (string.IsNullOrEmpty(result))
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
await call.RequestStream.WriteAsync(new EchoMessage { Message = result });
|
||||
}
|
||||
|
||||
Console.WriteLine("Disconnecting");
|
||||
await call.RequestStream.CompleteAsync();
|
||||
await readTask;
|
||||
```
|
||||
|
||||
For best performance, and to avoid unnecessary errors in the client and service, try to complete bi-directional streaming calls gracefully. A bi-directional call completes gracefully when the server has finished reading the request stream and the client has finished reading the response stream. The preceding sample call is one example of a bi-directional call that ends gracefully. In the call, the client:
|
||||
|
||||
1. Starts a new bi-directional streaming call by calling `EchoClient.Echo`.
|
||||
2. Creates a background task to read messages from the service using `ResponseStream.ReadAllAsync()`.
|
||||
3. Sends messages to the server with `RequestStream.WriteAsync`.
|
||||
4. Notifies the server it has finished sending messages with `RequestStream.CompleteAsync()`.
|
||||
5. Waits until the background task has read all incoming messages.
|
||||
|
||||
During a bi-directional streaming call, the client and service can send messages to each other at any time. The best client logic for interacting with a bi-directional call varies depending upon the service logic.
|
||||
|
||||
## Links
|
||||
|
||||
* [Documentation](https://docs.microsoft.com/aspnet/core/grpc/client)
|
||||
* [grpc-dotnet GitHub](https://github.com/grpc/grpc-dotnet)
|
||||
7
3d Prototyp/Assets/Packages/Grpc.Net.Client.2.60.0/README.md.meta
vendored
Normal file
7
3d Prototyp/Assets/Packages/Grpc.Net.Client.2.60.0/README.md.meta
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e8d098522fad3604f9f4e420e6291819
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
3d Prototyp/Assets/Packages/Grpc.Net.Client.2.60.0/lib.meta
vendored
Normal file
8
3d Prototyp/Assets/Packages/Grpc.Net.Client.2.60.0/lib.meta
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3dc0e7b892008a54bb09b626cdbc7c95
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
3d Prototyp/Assets/Packages/Grpc.Net.Client.2.60.0/lib/netstandard2.1.meta
vendored
Normal file
8
3d Prototyp/Assets/Packages/Grpc.Net.Client.2.60.0/lib/netstandard2.1.meta
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 82879dfb53ce50247adfe0186a2aeb9a
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
3d Prototyp/Assets/Packages/Grpc.Net.Client.2.60.0/lib/netstandard2.1/Grpc.Net.Client.dll
vendored
Normal file
BIN
3d Prototyp/Assets/Packages/Grpc.Net.Client.2.60.0/lib/netstandard2.1/Grpc.Net.Client.dll
vendored
Normal file
Binary file not shown.
23
3d Prototyp/Assets/Packages/Grpc.Net.Client.2.60.0/lib/netstandard2.1/Grpc.Net.Client.dll.meta
vendored
Normal file
23
3d Prototyp/Assets/Packages/Grpc.Net.Client.2.60.0/lib/netstandard2.1/Grpc.Net.Client.dll.meta
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2295e35d257b7bf428f420c71223406c
|
||||
labels:
|
||||
- NuGetForUnity
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
validateReferences: 1
|
||||
platformData:
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
765
3d Prototyp/Assets/Packages/Grpc.Net.Client.2.60.0/lib/netstandard2.1/Grpc.Net.Client.xml
vendored
Normal file
765
3d Prototyp/Assets/Packages/Grpc.Net.Client.2.60.0/lib/netstandard2.1/Grpc.Net.Client.xml
vendored
Normal file
@ -0,0 +1,765 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Grpc.Net.Client</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Grpc.Net.Client.Configuration.ConfigObject">
|
||||
<summary>
|
||||
Represents a configuration object. Implementations provide strongly typed wrappers over
|
||||
collections of untyped values.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.Configuration.ConfigObject.Inner">
|
||||
<summary>
|
||||
Gets the underlying configuration values.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Grpc.Net.Client.Configuration.HedgingPolicy">
|
||||
<summary>
|
||||
The hedging policy for outgoing calls. Hedged calls may execute more than
|
||||
once on the server, so only idempotent methods should specify a hedging
|
||||
policy.
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
Represents the <c>HedgingPolicy</c> message in <see href="https://github.com/grpc/grpc-proto/blob/master/grpc/service_config/service_config.proto"/>.
|
||||
</para>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Grpc.Net.Client.Configuration.HedgingPolicy.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Grpc.Net.Client.Configuration.HedgingPolicy"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.Configuration.HedgingPolicy.MaxAttempts">
|
||||
<summary>
|
||||
Gets or sets the maximum number of call attempts. This value includes the original attempt.
|
||||
The hedging policy will send up to this number of calls.
|
||||
|
||||
This property is required and must be 2 or greater.
|
||||
This value is limited by <see cref="P:Grpc.Net.Client.GrpcChannelOptions.MaxRetryAttempts"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.Configuration.HedgingPolicy.HedgingDelay">
|
||||
<summary>
|
||||
Gets or sets the hedging delay.
|
||||
The first call will be sent immediately, but the subsequent
|
||||
hedged call will be sent at intervals of the specified delay.
|
||||
Set this to 0 or <c>null</c> to immediately send all hedged calls.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.Configuration.HedgingPolicy.NonFatalStatusCodes">
|
||||
<summary>
|
||||
Gets a collection of status codes which indicate other hedged calls may still
|
||||
succeed. If a non-fatal status code is returned by the server, hedged
|
||||
calls will continue. Otherwise, outstanding requests will be canceled and
|
||||
the error returned to the client application layer.
|
||||
|
||||
Specifying status codes is optional.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Grpc.Net.Client.Configuration.LoadBalancingConfig">
|
||||
<summary>
|
||||
Base type for load balancer policy configuration.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Grpc.Net.Client.Configuration.LoadBalancingConfig.PickFirstPolicyName">
|
||||
<summary>
|
||||
<c>pick_first</c> policy name.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Grpc.Net.Client.Configuration.LoadBalancingConfig.RoundRobinPolicyName">
|
||||
<summary>
|
||||
<c>round_robin</c> policy name.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Grpc.Net.Client.Configuration.LoadBalancingConfig.#ctor(System.String)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Grpc.Net.Client.Configuration.LoadBalancingConfig"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.Configuration.LoadBalancingConfig.PolicyName">
|
||||
<summary>
|
||||
Gets the load balancer policy name.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Grpc.Net.Client.Configuration.MethodConfig">
|
||||
<summary>
|
||||
Configuration for a method.
|
||||
The <see cref="P:Grpc.Net.Client.Configuration.MethodConfig.Names"/> collection is used to determine which methods this configuration applies to.
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
Represents the <c>MethodConfig</c> message in <see href="https://github.com/grpc/grpc-proto/blob/master/grpc/service_config/service_config.proto"/>.
|
||||
</para>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Grpc.Net.Client.Configuration.MethodConfig.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Grpc.Net.Client.Configuration.MethodConfig"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.Configuration.MethodConfig.RetryPolicy">
|
||||
<summary>
|
||||
Gets or sets the retry policy for outgoing calls.
|
||||
A retry policy can't be combined with <see cref="P:Grpc.Net.Client.Configuration.MethodConfig.HedgingPolicy"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.Configuration.MethodConfig.HedgingPolicy">
|
||||
<summary>
|
||||
Gets or sets the hedging policy for outgoing calls. Hedged calls may execute
|
||||
more than once on the server, so only idempotent methods should specify a hedging
|
||||
policy. A hedging policy can't be combined with <see cref="P:Grpc.Net.Client.Configuration.MethodConfig.RetryPolicy"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.Configuration.MethodConfig.Names">
|
||||
<summary>
|
||||
Gets a collection of names which determine the calls the method config will apply to.
|
||||
A <see cref="T:Grpc.Net.Client.Configuration.MethodConfig"/> without names won't be used. Each name must be unique
|
||||
across an entire <see cref="T:Grpc.Net.Client.Configuration.ServiceConfig"/>.
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
If a name's <see cref="P:Grpc.Net.Client.Configuration.MethodName.Method"/> property isn't set then the method config is the default
|
||||
for all methods for the specified service.
|
||||
</para>
|
||||
<para>
|
||||
If a name's <see cref="P:Grpc.Net.Client.Configuration.MethodName.Service"/> property isn't set then <see cref="P:Grpc.Net.Client.Configuration.MethodName.Method"/> must also be unset,
|
||||
and the method config is the default for all methods on all services.
|
||||
<see cref="F:Grpc.Net.Client.Configuration.MethodName.Default"/> represents this global default name.
|
||||
</para>
|
||||
<para>
|
||||
When determining which method config to use for a given RPC, the most specific match wins. A method config
|
||||
with a configured <see cref="T:Grpc.Net.Client.Configuration.MethodName"/> that exactly matches a call's method and service will be used
|
||||
instead of a service or global default method config.
|
||||
</para>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="T:Grpc.Net.Client.Configuration.MethodName">
|
||||
<summary>
|
||||
The name of a method. Used to configure what calls a <see cref="T:Grpc.Net.Client.Configuration.MethodConfig"/> applies to using
|
||||
the <see cref="P:Grpc.Net.Client.Configuration.MethodConfig.Names"/> collection.
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
Represents the <c>Name</c> message in <see href="https://github.com/grpc/grpc-proto/blob/master/grpc/service_config/service_config.proto"/>.
|
||||
</para>
|
||||
<para>
|
||||
If a name's <see cref="P:Grpc.Net.Client.Configuration.MethodName.Method"/> property isn't set then the method config is the default
|
||||
for all methods for the specified service.
|
||||
</para>
|
||||
<para>
|
||||
If a name's <see cref="P:Grpc.Net.Client.Configuration.MethodName.Service"/> property isn't set then <see cref="P:Grpc.Net.Client.Configuration.MethodName.Method"/> must also be unset,
|
||||
and the method config is the default for all methods on all services.
|
||||
<see cref="F:Grpc.Net.Client.Configuration.MethodName.Default"/> represents this global default name.
|
||||
</para>
|
||||
<para>
|
||||
When determining which method config to use for a given RPC, the most specific match wins. A method config
|
||||
with a configured <see cref="T:Grpc.Net.Client.Configuration.MethodName"/> that exactly matches a call's method and service will be used
|
||||
instead of a service or global default method config.
|
||||
</para>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="F:Grpc.Net.Client.Configuration.MethodName.Default">
|
||||
<summary>
|
||||
A global default name.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Grpc.Net.Client.Configuration.MethodName.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Grpc.Net.Client.Configuration.MethodName"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.Configuration.MethodName.Service">
|
||||
<summary>
|
||||
Gets or sets the service name.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.Configuration.MethodName.Method">
|
||||
<summary>
|
||||
Gets or sets the method name.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Grpc.Net.Client.Configuration.PickFirstConfig">
|
||||
<summary>
|
||||
Configuration for pick_first load balancer policy.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Grpc.Net.Client.Configuration.PickFirstConfig.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Grpc.Net.Client.Configuration.PickFirstConfig"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Grpc.Net.Client.Configuration.RetryPolicy">
|
||||
<summary>
|
||||
The retry policy for outgoing calls.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Grpc.Net.Client.Configuration.RetryPolicy.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Grpc.Net.Client.Configuration.RetryPolicy"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.Configuration.RetryPolicy.MaxAttempts">
|
||||
<summary>
|
||||
Gets or sets the maximum number of call attempts. This value includes the original attempt.
|
||||
This property is required and must be greater than 1.
|
||||
This value is limited by <see cref="P:Grpc.Net.Client.GrpcChannelOptions.MaxRetryAttempts"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.Configuration.RetryPolicy.InitialBackoff">
|
||||
<summary>
|
||||
Gets or sets the initial backoff.
|
||||
A randomized delay between 0 and the current backoff value will determine when the next
|
||||
retry attempt is made.
|
||||
This property is required and must be greater than zero.
|
||||
<para>
|
||||
The backoff will be multiplied by <see cref="P:Grpc.Net.Client.Configuration.RetryPolicy.BackoffMultiplier"/> after each retry
|
||||
attempt and will increase exponentially when the multiplier is greater than 1.
|
||||
</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.Configuration.RetryPolicy.MaxBackoff">
|
||||
<summary>
|
||||
Gets or sets the maximum backoff.
|
||||
The maximum backoff places an upper limit on exponential backoff growth.
|
||||
This property is required and must be greater than zero.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.Configuration.RetryPolicy.BackoffMultiplier">
|
||||
<summary>
|
||||
Gets or sets the backoff multiplier.
|
||||
The backoff will be multiplied by <see cref="P:Grpc.Net.Client.Configuration.RetryPolicy.BackoffMultiplier"/> after each retry
|
||||
attempt and will increase exponentially when the multiplier is greater than 1.
|
||||
This property is required and must be greater than 0.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.Configuration.RetryPolicy.RetryableStatusCodes">
|
||||
<summary>
|
||||
Gets a collection of status codes which may be retried.
|
||||
At least one status code is required.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Grpc.Net.Client.Configuration.RetryThrottlingPolicy">
|
||||
<summary>
|
||||
The retry throttling policy for a server.
|
||||
<para>
|
||||
For more information about configuring throttling, see <see href="https://github.com/grpc/proposal/blob/master/A6-client-retries.md#throttling-retry-attempts-and-hedged-rpcs"/>.
|
||||
</para>
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
Represents the <c>RetryThrottlingPolicy</c> message in <see href="https://github.com/grpc/grpc-proto/blob/master/grpc/service_config/service_config.proto"/>.
|
||||
</para>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Grpc.Net.Client.Configuration.RetryThrottlingPolicy.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Grpc.Net.Client.Configuration.RetryThrottlingPolicy"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.Configuration.RetryThrottlingPolicy.MaxTokens">
|
||||
<summary>
|
||||
Gets or sets the maximum number of tokens.
|
||||
The number of tokens starts at <see cref="P:Grpc.Net.Client.Configuration.RetryThrottlingPolicy.MaxTokens"/> and the token count will
|
||||
always be between 0 and <see cref="P:Grpc.Net.Client.Configuration.RetryThrottlingPolicy.MaxTokens"/>.
|
||||
This property is required and must be greater than zero.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.Configuration.RetryThrottlingPolicy.TokenRatio">
|
||||
<summary>
|
||||
Gets or sets the amount of tokens to add on each successful call. Typically this will
|
||||
be some number between 0 and 1, e.g., 0.1.
|
||||
This property is required and must be greater than zero. Up to 3 decimal places are supported.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Grpc.Net.Client.Configuration.RoundRobinConfig">
|
||||
<summary>
|
||||
Configuration for pick_first load balancer policy.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Grpc.Net.Client.Configuration.RoundRobinConfig.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Grpc.Net.Client.Configuration.RoundRobinConfig"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Grpc.Net.Client.Configuration.ServiceConfig">
|
||||
<summary>
|
||||
A <see cref="T:Grpc.Net.Client.Configuration.ServiceConfig"/> represents information about a service.
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
Represents the <c>ServiceConfig</c> message in <see href="https://github.com/grpc/grpc-proto/blob/master/grpc/service_config/service_config.proto"/>.
|
||||
</para>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Grpc.Net.Client.Configuration.ServiceConfig.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Grpc.Net.Client.Configuration.ServiceConfig"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.Configuration.ServiceConfig.LoadBalancingConfigs">
|
||||
<summary>
|
||||
Gets a collection of <see cref="T:Grpc.Net.Client.Configuration.LoadBalancingConfig"/> instances. The client will iterate
|
||||
through the configured policies in order and use the first policy that is supported.
|
||||
If none are supported by the client then a configuration error is thrown.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.Configuration.ServiceConfig.MethodConfigs">
|
||||
<summary>
|
||||
Gets a collection of <see cref="T:Grpc.Net.Client.Configuration.MethodConfig"/> instances. This collection is used to specify
|
||||
configuration on a per-method basis. <see cref="P:Grpc.Net.Client.Configuration.MethodConfig.Names"/> determines which calls
|
||||
a method config applies to.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.Configuration.ServiceConfig.RetryThrottling">
|
||||
<summary>
|
||||
Gets or sets the retry throttling policy.
|
||||
If a <see cref="T:Grpc.Net.Client.Configuration.RetryThrottlingPolicy"/> is provided, gRPC will automatically throttle
|
||||
retry attempts and hedged RPCs when the client's ratio of failures to
|
||||
successes exceeds a threshold.
|
||||
<para>
|
||||
For more information about configuring throttling, see <see href="https://github.com/grpc/proposal/blob/master/A6-client-retries.md#throttling-retry-attempts-and-hedged-rpcs"/>.
|
||||
</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Grpc.Net.Client.GrpcChannel">
|
||||
<summary>
|
||||
Represents a gRPC channel. Channels are an abstraction of long-lived connections to remote servers.
|
||||
Client objects can reuse the same channel. Creating a channel is an expensive operation compared to invoking
|
||||
a remote call so in general you should reuse a single channel for as many calls as possible.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Grpc.Net.Client.GrpcChannel.CreateCallInvoker">
|
||||
<summary>
|
||||
Create a new <see cref="T:Grpc.Core.CallInvoker"/> for the channel.
|
||||
</summary>
|
||||
<returns>A new <see cref="T:Grpc.Core.CallInvoker"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Grpc.Net.Client.GrpcChannel.ForAddress(System.String)">
|
||||
<summary>
|
||||
Creates a <see cref="T:Grpc.Net.Client.GrpcChannel"/> for the specified address.
|
||||
</summary>
|
||||
<param name="address">The address the channel will use.</param>
|
||||
<returns>A new instance of <see cref="T:Grpc.Net.Client.GrpcChannel"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Grpc.Net.Client.GrpcChannel.ForAddress(System.String,Grpc.Net.Client.GrpcChannelOptions)">
|
||||
<summary>
|
||||
Creates a <see cref="T:Grpc.Net.Client.GrpcChannel"/> for the specified address and configuration options.
|
||||
</summary>
|
||||
<param name="address">The address the channel will use.</param>
|
||||
<param name="channelOptions">The channel configuration options.</param>
|
||||
<returns>A new instance of <see cref="T:Grpc.Net.Client.GrpcChannel"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Grpc.Net.Client.GrpcChannel.ForAddress(System.Uri)">
|
||||
<summary>
|
||||
Creates a <see cref="T:Grpc.Net.Client.GrpcChannel"/> for the specified address.
|
||||
</summary>
|
||||
<param name="address">The address the channel will use.</param>
|
||||
<returns>A new instance of <see cref="T:Grpc.Net.Client.GrpcChannel"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Grpc.Net.Client.GrpcChannel.ForAddress(System.Uri,Grpc.Net.Client.GrpcChannelOptions)">
|
||||
<summary>
|
||||
Creates a <see cref="T:Grpc.Net.Client.GrpcChannel"/> for the specified address and configuration options.
|
||||
</summary>
|
||||
<param name="address">The address the channel will use.</param>
|
||||
<param name="channelOptions">The channel configuration options.</param>
|
||||
<returns>A new instance of <see cref="T:Grpc.Net.Client.GrpcChannel"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Grpc.Net.Client.GrpcChannel.Dispose">
|
||||
<summary>
|
||||
Releases the resources used by the <see cref="T:Grpc.Net.Client.GrpcChannel"/> class.
|
||||
Clients created with the channel can't be used after the channel is disposed.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Grpc.Net.Client.GrpcChannelOptions">
|
||||
<summary>
|
||||
An options class for configuring a <see cref="T:Grpc.Net.Client.GrpcChannel"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.GrpcChannelOptions.Credentials">
|
||||
<summary>
|
||||
Gets or sets the credentials for the channel. This setting is used to set <see cref="T:Grpc.Core.ChannelCredentials"/> for
|
||||
a channel. Connection transport layer security (TLS) is determined by the address used to create the channel.
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
The channel credentials you use must match the address TLS setting. Use <see cref="P:Grpc.Core.ChannelCredentials.Insecure"/>
|
||||
for an "http" address and <see cref="P:Grpc.Core.ChannelCredentials.SecureSsl"/> for "https".
|
||||
</para>
|
||||
<para>
|
||||
The underlying <see cref="T:System.Net.Http.HttpClient"/> used by the channel automatically loads root certificates
|
||||
from the operating system certificate store.
|
||||
Client certificates should be configured on HttpClient. See <see href="https://aka.ms/aspnet/grpc/certauth"/> for details.
|
||||
</para>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.GrpcChannelOptions.MaxSendMessageSize">
|
||||
<summary>
|
||||
Gets or sets the maximum message size in bytes that can be sent from the client. Attempting to send a message
|
||||
that exceeds the configured maximum message size results in an exception.
|
||||
<para>
|
||||
A <c>null</c> value removes the maximum message size limit. Defaults to <c>null</c>.
|
||||
</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.GrpcChannelOptions.MaxReceiveMessageSize">
|
||||
<summary>
|
||||
Gets or sets the maximum message size in bytes that can be received by the client. If the client receives a
|
||||
message that exceeds this limit, it throws an exception.
|
||||
<para>
|
||||
A <c>null</c> value removes the maximum message size limit. Defaults to 4,194,304 (4 MB).
|
||||
</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.GrpcChannelOptions.MaxRetryAttempts">
|
||||
<summary>
|
||||
Gets or sets the maximum retry attempts. This value limits any retry and hedging attempt values specified in
|
||||
the service config.
|
||||
<para>
|
||||
Setting this value alone doesn't enable retries. Retries are enabled in the service config, which can be done
|
||||
using <see cref="P:Grpc.Net.Client.GrpcChannelOptions.ServiceConfig"/>.
|
||||
</para>
|
||||
<para>
|
||||
A <c>null</c> value removes the maximum retry attempts limit. Defaults to 5.
|
||||
</para>
|
||||
<para>
|
||||
Note: Experimental API that can change or be removed without any prior notice.
|
||||
</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.GrpcChannelOptions.MaxRetryBufferSize">
|
||||
<summary>
|
||||
Gets or sets the maximum buffer size in bytes that can be used to store sent messages when retrying
|
||||
or hedging calls. If the buffer limit is exceeded, then no more retry attempts are made and all
|
||||
hedging calls but one will be canceled. This limit is applied across all calls made using the channel.
|
||||
<para>
|
||||
Setting this value alone doesn't enable retries. Retries are enabled in the service config, which can be done
|
||||
using <see cref="P:Grpc.Net.Client.GrpcChannelOptions.ServiceConfig"/>.
|
||||
</para>
|
||||
<para>
|
||||
A <c>null</c> value removes the maximum retry buffer size limit. Defaults to 16,777,216 (16 MB).
|
||||
</para>
|
||||
<para>
|
||||
Note: Experimental API that can change or be removed without any prior notice.
|
||||
</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.GrpcChannelOptions.MaxRetryBufferPerCallSize">
|
||||
<summary>
|
||||
Gets or sets the maximum buffer size in bytes that can be used to store sent messages when retrying
|
||||
or hedging calls. If the buffer limit is exceeded, then no more retry attempts are made and all
|
||||
hedging calls but one will be canceled. This limit is applied to one call.
|
||||
<para>
|
||||
Setting this value alone doesn't enable retries. Retries are enabled in the service config, which can be done
|
||||
using <see cref="P:Grpc.Net.Client.GrpcChannelOptions.ServiceConfig"/>.
|
||||
</para>
|
||||
<para>
|
||||
A <c>null</c> value removes the maximum retry buffer size limit per call. Defaults to 1,048,576 (1 MB).
|
||||
</para>
|
||||
<para>
|
||||
Note: Experimental API that can change or be removed without any prior notice.
|
||||
</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.GrpcChannelOptions.CompressionProviders">
|
||||
<summary>
|
||||
Gets or sets a collection of compression providers.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.GrpcChannelOptions.LoggerFactory">
|
||||
<summary>
|
||||
Gets or sets the logger factory used by the channel. If no value is specified then the channel
|
||||
attempts to resolve an <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/> from the <see cref="P:Grpc.Net.Client.GrpcChannelOptions.ServiceProvider"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.GrpcChannelOptions.HttpClient">
|
||||
<summary>
|
||||
Gets or sets the <see cref="T:System.Net.Http.HttpClient"/> used by the channel to make HTTP calls.
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
By default a <see cref="T:System.Net.Http.HttpClient"/> specified here will not be disposed with the channel.
|
||||
To dispose the <see cref="T:System.Net.Http.HttpClient"/> with the channel you must set <see cref="P:Grpc.Net.Client.GrpcChannelOptions.DisposeHttpClient"/>
|
||||
to <c>true</c>.
|
||||
</para>
|
||||
<para>
|
||||
Only one HTTP caller can be specified for a channel. An error will be thrown if this is configured
|
||||
together with <see cref="P:Grpc.Net.Client.GrpcChannelOptions.HttpHandler"/>.
|
||||
</para>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.GrpcChannelOptions.HttpHandler">
|
||||
<summary>
|
||||
Gets or sets the <see cref="T:System.Net.Http.HttpMessageHandler"/> used by the channel to make HTTP calls.
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
By default a <see cref="T:System.Net.Http.HttpMessageHandler"/> specified here will not be disposed with the channel.
|
||||
To dispose the <see cref="T:System.Net.Http.HttpMessageHandler"/> with the channel you must set <see cref="P:Grpc.Net.Client.GrpcChannelOptions.DisposeHttpClient"/>
|
||||
to <c>true</c>.
|
||||
</para>
|
||||
<para>
|
||||
Only one HTTP caller can be specified for a channel. An error will be thrown if this is configured
|
||||
together with <see cref="P:Grpc.Net.Client.GrpcChannelOptions.HttpClient"/>.
|
||||
</para>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.GrpcChannelOptions.DisposeHttpClient">
|
||||
<summary>
|
||||
Gets or sets a value indicating whether the underlying <see cref="T:System.Net.Http.HttpClient"/> or
|
||||
<see cref="T:System.Net.Http.HttpMessageHandler"/> should be disposed when the <see cref="T:Grpc.Net.Client.GrpcChannel"/> instance is disposed.
|
||||
The default value is <c>false</c>.
|
||||
</summary>
|
||||
<remarks>
|
||||
This setting is used when a <see cref="P:Grpc.Net.Client.GrpcChannelOptions.HttpClient"/> or <see cref="P:Grpc.Net.Client.GrpcChannelOptions.HttpHandler"/> value is specified.
|
||||
If they are not specified then the channel will create an internal HTTP caller that is always disposed
|
||||
when the channel is disposed.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.GrpcChannelOptions.ThrowOperationCanceledOnCancellation">
|
||||
<summary>
|
||||
Gets or sets a value indicating whether clients will throw <see cref="T:System.OperationCanceledException"/> for a call when its
|
||||
<see cref="P:Grpc.Core.CallOptions.CancellationToken"/> is triggered or its <see cref="P:Grpc.Core.CallOptions.Deadline"/> is exceeded.
|
||||
The default value is <c>false</c>.
|
||||
<para>
|
||||
Note: Experimental API that can change or be removed without any prior notice.
|
||||
</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.GrpcChannelOptions.UnsafeUseInsecureChannelCallCredentials">
|
||||
<summary>
|
||||
Gets or sets a value indicating whether a gRPC call's <see cref="T:Grpc.Core.CallCredentials"/> are used by an insecure channel.
|
||||
The default value is <c>false</c>.
|
||||
<para>
|
||||
Note: Experimental API that can change or be removed without any prior notice.
|
||||
</para>
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
The default value for this property is <c>false</c>, which causes an insecure channel to ignore a gRPC call's <see cref="T:Grpc.Core.CallCredentials"/>.
|
||||
Sending authentication headers over an insecure connection has security implications and shouldn't be done in production environments.
|
||||
</para>
|
||||
<para>
|
||||
If this property is set to <c>true</c>, call credentials are always used by a channel.
|
||||
</para>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.GrpcChannelOptions.ServiceConfig">
|
||||
<summary>
|
||||
Gets or sets the service config for a gRPC channel. A service config allows service owners to publish parameters
|
||||
to be automatically used by all clients of their service. A service config can also be specified by a client
|
||||
using this property.
|
||||
<para>
|
||||
Note: Experimental API that can change or be removed without any prior notice.
|
||||
</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.GrpcChannelOptions.ServiceProvider">
|
||||
<summary>
|
||||
Gets or sets the <see cref="T:System.IServiceProvider"/> the channel uses to resolve types.
|
||||
<para>
|
||||
Note: Experimental API that can change or be removed without any prior notice.
|
||||
</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Grpc.Net.Client.GrpcChannelOptions.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Grpc.Net.Client.GrpcChannelOptions"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.Internal.ClientStreamWriterBase`1.IsWriteInProgressUnsynchronized">
|
||||
<summary>
|
||||
A value indicating whether there is an async write already in progress.
|
||||
Should only check this property when holding the write lock.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Grpc.Net.Client.Internal.GrpcCall`2.Cleanup(Grpc.Core.Status)">
|
||||
<summary>
|
||||
Clean up can be called by:
|
||||
1. The user. AsyncUnaryCall.Dispose et al will call this on Dispose
|
||||
2. <see cref="M:Grpc.Net.Client.Internal.GrpcCall.ValidateHeaders(System.Net.Http.HttpResponseMessage,Grpc.Core.Metadata@)"/> will call dispose if errors fail validation
|
||||
3. <see cref="M:Grpc.Net.Client.Internal.GrpcCall`2.FinishResponseAndCleanUp(Grpc.Core.Status)"/> will call dispose
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Grpc.Net.Client.Internal.GrpcCall`2.ResponseStreamEnded(Grpc.Core.Status,System.Boolean)">
|
||||
<summary>
|
||||
Used by response stream reader to report it is finished.
|
||||
</summary>
|
||||
<param name="status">The completed response status code.</param>
|
||||
<param name="finishedGracefully">true when the end of the response stream was read, otherwise false.</param>
|
||||
</member>
|
||||
<member name="M:Grpc.Net.Client.Internal.GrpcCall`2.ResolveException(System.String,System.Exception,System.Nullable{Grpc.Core.Status}@,System.Exception@)">
|
||||
<summary>
|
||||
Resolve the specified exception to an end-user exception that will be thrown from the client.
|
||||
The resolved exception is normally a RpcException. Returns true when the resolved exception is changed.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Grpc.Net.Client.Internal.GrpcCallSerializationContext.GetWrittenPayload">
|
||||
<summary>
|
||||
Obtains the payload from this operation. Error is thrown if complete hasn't been called.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Grpc.Net.Client.Internal.GrpcMethodInfo">
|
||||
<summary>
|
||||
Cached log scope and URI for a gRPC <see cref="T:Grpc.Core.IMethod"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Grpc.Net.Client.Internal.GrpcProtocolConstants.GetDebugEnumerator(Grpc.Core.ChannelBase,Grpc.Core.IMethod,System.Object)">
|
||||
<summary>
|
||||
Gets key value pairs used by debugging. These are provided as an enumerator instead of a dictionary
|
||||
because it's one method to implement an enumerator on gRPC calls compared to a dozen members for a dictionary.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Grpc.Net.Client.Internal.GrpcProtocolHelpers.ResolveRpcExceptionStatusCode(System.Exception)">
|
||||
<summary>
|
||||
Resolve the exception from HttpClient to a gRPC status code.
|
||||
<param name="ex">The <see cref="T:System.Exception"/> to resolve a <see cref="T:Grpc.Core.StatusCode"/> from.</param>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Grpc.Net.Client.Internal.Http.WinHttpUnaryContent`2">
|
||||
<summary>
|
||||
WinHttp doesn't support streaming request data so a length needs to be specified.
|
||||
This HttpContent pre-serializes the payload so it has a length available.
|
||||
The payload is then written directly to the request using specialized context
|
||||
and serializer method.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Grpc.Net.Client.Internal.HttpClientCallInvoker">
|
||||
<summary>
|
||||
A client-side RPC invocation using HttpClient.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Grpc.Net.Client.Internal.HttpClientCallInvoker.AsyncClientStreamingCall``2(Grpc.Core.Method{``0,``1},System.String,Grpc.Core.CallOptions)">
|
||||
<summary>
|
||||
Invokes a client streaming call asynchronously.
|
||||
In client streaming scenario, client sends a stream of requests and server responds with a single response.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Grpc.Net.Client.Internal.HttpClientCallInvoker.AsyncDuplexStreamingCall``2(Grpc.Core.Method{``0,``1},System.String,Grpc.Core.CallOptions)">
|
||||
<summary>
|
||||
Invokes a duplex streaming call asynchronously.
|
||||
In duplex streaming scenario, client sends a stream of requests and server responds with a stream of responses.
|
||||
The response stream is completely independent and both side can be sending messages at the same time.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Grpc.Net.Client.Internal.HttpClientCallInvoker.AsyncServerStreamingCall``2(Grpc.Core.Method{``0,``1},System.String,Grpc.Core.CallOptions,``0)">
|
||||
<summary>
|
||||
Invokes a server streaming call asynchronously.
|
||||
In server streaming scenario, client sends on request and server responds with a stream of responses.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Grpc.Net.Client.Internal.HttpClientCallInvoker.AsyncUnaryCall``2(Grpc.Core.Method{``0,``1},System.String,Grpc.Core.CallOptions,``0)">
|
||||
<summary>
|
||||
Invokes a simple remote call asynchronously.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Grpc.Net.Client.Internal.HttpClientCallInvoker.BlockingUnaryCall``2(Grpc.Core.Method{``0,``1},System.String,Grpc.Core.CallOptions,``0)">
|
||||
<summary>
|
||||
Invokes a simple remote call in a blocking fashion.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Grpc.Net.Client.Internal.HttpContentClientStreamReader`2.IsMoveNextInProgressUnsynchronized">
|
||||
<summary>
|
||||
A value indicating whether there is an async move next already in progress.
|
||||
Should only check this property when holding the move next lock.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Grpc.Net.Client.Internal.NtDll">
|
||||
<summary>
|
||||
Types for calling RtlGetVersion. See https://www.pinvoke.net/default.aspx/ntdll/RtlGetVersion.html
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Grpc.Net.Client.Internal.NtDll.NTSTATUS.STATUS_SUCCESS">
|
||||
<summary>
|
||||
The operation completed successfully.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Grpc.Net.Client.Internal.TaskExtensions.ObserveException(System.Threading.Tasks.Task)">
|
||||
<summary>
|
||||
Observes and ignores a potential exception on a given Task.
|
||||
If a Task fails and throws an exception which is never observed, it will be caught by the .NET finalizer thread.
|
||||
This function awaits the given task and if the exception is thrown, it observes this exception and simply ignores it.
|
||||
This will prevent the escalation of this exception to the .NET finalizer thread.
|
||||
</summary>
|
||||
<param name="task">The task to be ignored.</param>
|
||||
</member>
|
||||
<member name="M:Grpc.Net.Client.Internal.UserAgentGenerator.GetUserAgentString">
|
||||
<summary>
|
||||
Generates a user agent string to be transported in headers.
|
||||
<example>
|
||||
grpc-dotnet/2.41.0-dev (.NET 6.0.0-preview.7.21377.19; CLR 6.0.0; net6.0; osx; x64)
|
||||
grpc-dotnet/2.41.0-dev (Mono 6.12.0.140; CLR 4.0.30319; netstandard2.0; osx; x64)
|
||||
grpc-dotnet/2.41.0-dev (.NET 6.0.0-rc.1.21380.1; CLR 6.0.0; net6.0; linux; arm64)
|
||||
grpc-dotnet/2.41.0-dev (.NET 5.0.8; CLR 5.0.8; net5.0; linux; arm64)
|
||||
grpc-dotnet/2.41.0-dev (.NET Core; CLR 3.1.4; netstandard2.1; linux; arm64)
|
||||
grpc-dotnet/2.41.0-dev (.NET Framework; CLR 4.0.30319.42000; netstandard2.0; windows; x86)
|
||||
grpc-dotnet/2.41.0-dev (.NET 6.0.0-rc.1.21380.1; CLR 6.0.0; net6.0; windows; x64)
|
||||
</example>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Grpc.Shared.ObjectDisposedThrowHelper.ThrowIf(System.Boolean,System.Object)">
|
||||
<summary>Throws an <see cref="T:System.ObjectDisposedException"/> if the specified <paramref name="condition"/> is <see langword="true"/>.</summary>
|
||||
<param name="condition">The condition to evaluate.</param>
|
||||
<param name="instance">The object whose type's full name should be included in any resulting <see cref="T:System.ObjectDisposedException"/>.</param>
|
||||
<exception cref="T:System.ObjectDisposedException">The <paramref name="condition"/> is <see langword="true"/>.</exception>
|
||||
</member>
|
||||
<member name="M:Grpc.Shared.ObjectDisposedThrowHelper.ThrowIf(System.Boolean,System.Type)">
|
||||
<summary>Throws an <see cref="T:System.ObjectDisposedException"/> if the specified <paramref name="condition"/> is <see langword="true"/>.</summary>
|
||||
<param name="condition">The condition to evaluate.</param>
|
||||
<param name="type">The type whose full name should be included in any resulting <see cref="T:System.ObjectDisposedException"/>.</param>
|
||||
<exception cref="T:System.ObjectDisposedException">The <paramref name="condition"/> is <see langword="true"/>.</exception>
|
||||
</member>
|
||||
<member name="M:Grpc.Shared.ArgumentNullThrowHelper.ThrowIfNull(System.Object,System.String)">
|
||||
<summary>Throws an <see cref="T:System.ArgumentNullException"/> if <paramref name="argument"/> is null.</summary>
|
||||
<param name="argument">The reference type argument to validate as non-null.</param>
|
||||
<param name="paramName">The name of the parameter with which <paramref name="argument"/> corresponds.</param>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute">
|
||||
<summary>Specifies that the method or property will ensure that the listed field and property members have not-null values.</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute.#ctor(System.String)">
|
||||
<summary>Initializes the attribute with a field or property member.</summary>
|
||||
<param name="member">
|
||||
The field or property member that is promised to be not-null.
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute.#ctor(System.String[])">
|
||||
<summary>Initializes the attribute with the list of field and property members.</summary>
|
||||
<param name="members">
|
||||
The list of field and property members that are promised to be not-null.
|
||||
</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute.Members">
|
||||
<summary>Gets field or property member names.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute">
|
||||
<summary>Specifies that the method or property will ensure that the listed field and property members have not-null values when returning with the specified return value condition.</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.#ctor(System.Boolean,System.String)">
|
||||
<summary>Initializes the attribute with the specified return value condition and a field or property member.</summary>
|
||||
<param name="returnValue">
|
||||
The return value condition. If the method returns this value, the associated parameter will not be null.
|
||||
</param>
|
||||
<param name="member">
|
||||
The field or property member that is promised to be not-null.
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.#ctor(System.Boolean,System.String[])">
|
||||
<summary>Initializes the attribute with the specified return value condition and list of field and property members.</summary>
|
||||
<param name="returnValue">
|
||||
The return value condition. If the method returns this value, the associated parameter will not be null.
|
||||
</param>
|
||||
<param name="members">
|
||||
The list of field and property members that are promised to be not-null.
|
||||
</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.ReturnValue">
|
||||
<summary>Gets the return value condition.</summary>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.Members">
|
||||
<summary>Gets field or property member names.</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 68703656b4f924843aa20742433d5f47
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
3d Prototyp/Assets/Packages/Grpc.Net.Client.2.60.0/packageIcon.png
vendored
Normal file
BIN
3d Prototyp/Assets/Packages/Grpc.Net.Client.2.60.0/packageIcon.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 30 KiB |
127
3d Prototyp/Assets/Packages/Grpc.Net.Client.2.60.0/packageIcon.png.meta
vendored
Normal file
127
3d Prototyp/Assets/Packages/Grpc.Net.Client.2.60.0/packageIcon.png.meta
vendored
Normal file
@ -0,0 +1,127 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6a539c789fe921143a7daeaef89887b1
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 12
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 0
|
||||
wrapV: 0
|
||||
wrapW: 0
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 0
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 0
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user