MessageWebSocket.SendNonfinalFrameAsync(IBuffer) Method

Definition

Asynchronously (with progress) writes a frame of data in a sequential stream, with the semantics that more frames will follow for the same WebSocket message (the FIN bit on this frame is set to 0). This method and SendFinalFrameAsync allow you to send individual WebSocket frames.

public:
 virtual IAsyncOperationWithProgress<unsigned int, unsigned int> ^ SendNonfinalFrameAsync(IBuffer ^ data) = SendNonfinalFrameAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<uint32_t, uint32_t> SendNonfinalFrameAsync(IBuffer const& data);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<uint,uint> SendNonfinalFrameAsync(IBuffer data);
function sendNonfinalFrameAsync(data)
Public Function SendNonfinalFrameAsync (data As IBuffer) As IAsyncOperationWithProgress(Of UInteger, UInteger)

Parameters

data
IBuffer

A buffer containing the data that constitutes the frame to be sent.

Returns

IAsyncOperationWithProgress<UInt32,UInt32>

Windows.Foundation.IAsyncOperationWithProgress<unsigned int,unsigned int>

IAsyncOperationWithProgress<uint32_t,uint32_t>

An asynchronous byte writer operation with progress.

Attributes

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)
App capabilities
internetClientServer privateNetworkClientServer

Applies to