JsonRpcExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extension methods for use with JsonRpc.
public static class JsonRpcExtensions
type JsonRpcExtensions = class
Public Module JsonRpcExtensions
- Inheritance
-
JsonRpcExtensions
Methods
AsAsyncEnumerable<T>(IEnumerable<T>, CancellationToken) |
Converts an IEnumerable<T> to IAsyncEnumerable<T> so it will be streamed over an RPC connection progressively instead of as an entire collection in one message. |
AsAsyncEnumerable<T>(IEnumerable<T>, JsonRpcEnumerableSettings, CancellationToken) |
Converts an IEnumerable<T> to IAsyncEnumerable<T> so it will be streamed over an RPC connection progressively instead of as an entire collection in one message. |
AsAsyncEnumerable<T>(IEnumerable<T>, JsonRpcEnumerableSettings) |
Converts an IEnumerable<T> to IAsyncEnumerable<T> so it will be streamed over an RPC connection progressively instead of as an entire collection in one message. |
AsAsyncEnumerable<T>(IEnumerable<T>) |
Converts an IEnumerable<T> to IAsyncEnumerable<T> so it will be streamed over an RPC connection progressively instead of as an entire collection in one message. |
WithJsonRpcSettings<T>(IAsyncEnumerable<T>, JsonRpcEnumerableSettings) |
Decorates an IAsyncEnumerable<T> with settings that customize how StreamJsonRpc will send its items to the remote party. |
WithPrefetchAsync<T>(IAsyncEnumerable<T>, Int32, CancellationToken) |
Preloads an IAsyncEnumerable<T> with a cache of pre-enumerated items for inclusion in the initial transmission of the enumerable over an RPC channel. |