Skip to content

ClientBuilderStreamingExtensions.AddMemoryStreams(IClientBuilder, string, Action<IClusterClientMemoryStreamConfigurator>)

AddMemoryStreams(IClientBuilder, string, Action<IClusterClientMemoryStreamConfigurator>)

staticextension
View source
public static IClientBuilder AddMemoryStreams(this IClientBuilder builder, string name, Action<IClusterClientMemoryStreamConfigurator> configure = null)
Adds a new in-memory stream provider to the client, using the default message serializer (DefaultMemoryMessageBodySerializer).

Parameters

builderIClientBuilder
The builder.
namestring
The stream provider name.
configureAction<IClusterClientMemoryStreamConfigurator>
The configuration delegate.

Returns

The client builder.