Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.19 KB

deviceportalconnection_getservermessagewebsocketforrequest_1605055942.md

File metadata and controls

33 lines (22 loc) · 1.19 KB
-api-id -api-type
M:Windows.System.Diagnostics.DevicePortal.DevicePortalConnection.GetServerMessageWebSocketForRequest(Windows.Web.Http.HttpRequestMessage,Windows.Networking.Sockets.SocketMessageType,System.String)
winrt method

Windows.System.Diagnostics.DevicePortal.DevicePortalConnection.GetServerMessageWebSocketForRequest

-description

Returns a server-side message WebSocket for use with Device Portal.

-parameters

-param request

The HTTP request message (found as a property of the DevicePortalConnectionRequestReceivedEventArgs class).

-param messageType

A SocketMessageType value indicating the type of messaging that this WebSocket will use.

-param protocol

The sub-protocol that this WebSocket will use.

-returns

A server-side message WebSocket object that can be used with Device Portal.

-remarks

-see-also

-examples