-api-id | -api-type |
---|---|
M:Windows.System.Diagnostics.DevicePortal.DevicePortalConnection.GetServerMessageWebSocketForRequest(Windows.Web.Http.HttpRequestMessage,Windows.Networking.Sockets.SocketMessageType,System.String,System.UInt32,System.UInt32,Windows.Networking.Sockets.MessageWebSocketReceiveMode) |
winrt method |
Returns a server-side message WebSocket for use with Device Portal.
The HTTP request message (found as a property of the DevicePortalConnectionRequestReceivedEventArgs class).
A SocketMessageType value indicating the type of messaging that this WebSocket will use.
The sub-protocol that this WebSocket will use.
The size, in bytes, of the send buffer to be used for sending data on a ServerMessageWebSocket object.
The maximum message size, in bytes, for a WebSocket message to be configured on the ServerMessageWebSocket object.
A MessageWebSocketReceiveMode value indicating whether this WebSocket will receive either complete or partial messages.
A server-side message WebSocket object that can be used with Device Portal.