MessageWebSocket.SendFinalFrameAsync(IBuffer) MessageWebSocket.SendFinalFrameAsync(IBuffer) MessageWebSocket.SendFinalFrameAsync(IBuffer) MessageWebSocket.SendFinalFrameAsync(IBuffer) MessageWebSocket.SendFinalFrameAsync(IBuffer) Method

Definition

Asynchronously (with progress) writes a frame of data in a sequential stream, with the semantics that this is the last frame in a WebSocket message (the FIN bit on this frame is set to 1). This method and SendNonfinalFrameAsync allow you to send individual WebSocket frames.

public : IAsyncOperationWithProgress<unsigned int, unsigned int> SendFinalFrameAsync(IBuffer data)
IAsyncOperationWithProgress<uint32_t, uint32_t> SendFinalFrameAsync(IBuffer data) const;
public IAsyncOperationWithProgress<uint, uint> SendFinalFrameAsync(IBuffer data)
Public Function SendFinalFrameAsync(data As IBuffer) As IAsyncOperationWithProgress(Of uintuint)
Windows.Networking.Sockets.MessageWebSocket.sendFinalFrameAsync(data).done( /* Your success and error handlers */ );

Parameters

data
IBuffer IBuffer IBuffer

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

Returns

Additional features and requirements

Device family
Windows 10, version 1803 (introduced v10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v6)
Capabilities
privateNetworkClientServer internetClientServer