4 implementations of WriteAsync
System.ServiceModel.NetFramingBase (2)
System\ServiceModel\Channels\Connection.cs (2)
39
public virtual ValueTask
WriteAsync
(ReadOnlyMemory<byte> buffer, bool immediate, TimeSpan timeout) => Connection.WriteAsync(buffer, immediate, timeout);
305
public async ValueTask
WriteAsync
(ReadOnlyMemory<byte> buffer, bool immediate, TimeSpan timeout)
System.ServiceModel.NetNamedPipe (1)
System\ServiceModel\Channels\PipeConnection.cs (1)
160
public async ValueTask
WriteAsync
(ReadOnlyMemory<byte> buffer, bool immediate, TimeSpan timeout)
System.ServiceModel.UnixDomainSocket (1)
System\ServiceModel\Channels\SocketConnection.cs (1)
239
public async ValueTask
WriteAsync
(ReadOnlyMemory<byte> buffer, bool immediate, TimeSpan timeout)
22 references to WriteAsync
System.ServiceModel.NetFramingBase (22)
System\ServiceModel\Channels\BufferedConnection.cs (3)
58
await Connection.
WriteAsync
(_writeBuffer.Slice(0, _pendingWriteSize), false, timeout);
153
await Connection.
WriteAsync
(buffer, true, timeout);
173
await Connection.
WriteAsync
(buffer, false, timeoutHelper.RemainingTime());
System\ServiceModel\Channels\Connection.cs (6)
39
public virtual ValueTask WriteAsync(ReadOnlyMemory<byte> buffer, bool immediate, TimeSpan timeout) => Connection.
WriteAsync
(buffer, immediate, timeout);
193
return Connection.
WriteAsync
(new Memory<byte>(buffer, offset, count), Immediate, TimeoutHelper.FromMilliseconds(WriteTimeout)).AsTask();
198
Connection.
WriteAsync
(new Memory<byte>(buffer, offset, count), Immediate, TimeoutHelper.FromMilliseconds(WriteTimeout)).GetAwaiter().GetResult();
208
Connection.
WriteAsync
(memBuffer, Immediate, TimeoutHelper.FromMilliseconds(WriteTimeout)).GetAwaiter().GetResult();
218
return Connection.
WriteAsync
(buffer, Immediate, TimeoutHelper.FromMilliseconds(WriteTimeout));
223
return Connection.
WriteAsync
(new Memory<byte>(buffer, offset, count), Immediate, TimeoutHelper.FromMilliseconds(WriteTimeout))
System\ServiceModel\Channels\FramingChannels.cs (7)
44
return Connection.
WriteAsync
(SessionEncoder.EndBytes, true, timeout);
61
await Connection.
WriteAsync
(messageData, !allowOutputBatching, timeout);
67
return Connection.
WriteAsync
(SessionEncoder.EndBytes, true, timeout);
72
return Connection.
WriteAsync
(messageData, !allowOutputBatching, timeout);
226
await connection.
WriteAsync
(preamble, true, timeoutHelper.RemainingTime());
249
await connection.
WriteAsync
(SessionEncoder.PreambleEndBytes, true, timeoutHelper.RemainingTime());
427
await connection.
WriteAsync
(encodedUpgrade.EncodedBytes, true, timeout);
System\ServiceModel\Channels\SingletonConnectionReader.cs (4)
583
await connection.
WriteAsync
(envelopeStartBytes, false, timeoutHelper.RemainingTime());
594
await connection.
WriteAsync
(new Memory<byte>(messageData.Array, messageData.Offset - envelopeStartBytes.Length,
605
await connection.
WriteAsync
(endBytes,
626
return Connection.
WriteAsync
(_encodedSize.Slice(0, bytesEncoded), false, TimeoutHelper.FromMilliseconds(WriteTimeout));
System\ServiceModel\Channels\StreamedFramingRequestChannel.cs (2)
73
await connection.
WriteAsync
(Preamble, true, timeoutHelper.RemainingTime());
93
await connection.
WriteAsync
(ClientSingletonEncoder.PreambleEndBytes, true, timeoutHelper.RemainingTime());