2 types derived from InvocationRequest
Microsoft.AspNetCore.SignalR.Client.Core (2)
Internal\InvocationRequest.cs (2)
79
private sealed class Streaming :
InvocationRequest
167
private sealed class NonStreaming :
InvocationRequest
22 references to InvocationRequest
Microsoft.AspNetCore.SignalR.Client.Core (22)
HubConnection.cs (19)
697
async Task OnStreamCanceled(
InvocationRequest
irq)
743
var
irq =
InvocationRequest
.Stream(cancellationToken, returnType, connectionState.GetNextId(), _loggerFactory, this, activity, out channel);
748
cancellationToken.Register(state => _ = OnStreamCanceled((
InvocationRequest
)state!), irq);
1088
var
irq =
InvocationRequest
.Invoke(cancellationToken, returnType, connectionState.GetNextId(), _loggerFactory, this, activity, out invocationTask);
1129
private async Task InvokeCore(ConnectionState connectionState, string methodName,
InvocationRequest
irq, object?[] args, string[]? streams, CancellationToken cancellationToken)
1158
private async Task InvokeStreamCore(ConnectionState connectionState, string methodName,
InvocationRequest
irq, object?[] args, string[]? streams, CancellationToken cancellationToken)
1291
InvocationRequest
? irq;
1448
private async Task DispatchInvocationStreamItemAsync(StreamItemMessage streamItem,
InvocationRequest
irq)
1462
private void DispatchInvocationCompletion(CompletionMessage completion,
InvocationRequest
irq)
2120
private readonly Dictionary<string,
InvocationRequest
> _pendingCalls = new Dictionary<string,
InvocationRequest
>(StringComparer.Ordinal);
2172
public void AddInvocation(
InvocationRequest
irq)
2188
public bool TryGetInvocation(string invocationId, [NotNullWhen(true)] out
InvocationRequest
? irq)
2196
public bool TryRemoveInvocation(string invocationId, [NotNullWhen(true)] out
InvocationRequest
? irq)
2218
foreach (
var
outstandingCall in _pendingCalls.Values)
2387
if (!TryGetInvocation(invocationId, out
var
irq))
2399
if (!TryGetInvocation(invocationId, out
var
irq))
Internal\InvocationRequest.cs (3)
30
_cancellationTokenRegistration = cancellationToken.Register(self => ((
InvocationRequest
)self!).Cancel(), this);
48
public static
InvocationRequest
Invoke(CancellationToken cancellationToken, Type resultType, string invocationId, ILoggerFactory loggerFactory, HubConnection hubConnection, Activity? activity, out Task<object?> result)
55
public static
InvocationRequest
Stream(CancellationToken cancellationToken, Type resultType, string invocationId,