Click or drag to resize
IClientStreamWriterT Interface
Client-side writable stream of messages with Close capability.

Namespace: Grpc.Core
Assembly: Grpc.Core (in Grpc.Core.dll) Version: 0.6.1.0
Syntax
public interface IClientStreamWriter<T> : IAsyncStreamWriter<T>

Type Parameters

T
The message type.

The IClientStreamWriterT type exposes the following members.

Properties
  NameDescription
Public propertyWriteOptions
Write options that will be used for the next write. If null, default options will be used. Once set, this property maintains its value across subsequent writes.
(Inherited from IAsyncStreamWriterT.)
Top
Methods
  NameDescription
Public methodCompleteAsync
Completes/closes the stream. Can only be called once there is no pending write. No writes should follow calling this.
Public methodWriteAsync
Writes a single asynchronously. Only one write can be pending at a time.
(Inherited from IAsyncStreamWriterT.)
Top
Extension Methods
  NameDescription
Public Extension MethodWriteAllAsyncT
Writes all elements from given enumerable to the stream. Completes the stream afterwards unless close = false.
(Defined by AsyncStreamExtensions.)
Top
See Also