Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 990 Bytes

serverstreamwebsocket_close_294895258.md

File metadata and controls

29 lines (20 loc) · 990 Bytes
-api-id -api-type
M:Windows.Networking.Sockets.ServerStreamWebSocket.Close(System.UInt16,System.String)
winrt method

Windows.Networking.Sockets.ServerStreamWebSocket.Close

-description

Closes the ServerStreamWebSocket object and indicates a reason for the closure.

-parameters

-param code

Status code indicating the reason for closure. The list of appropriate codes is on the IANA (Internet Assigned Numbers Authority) WebSocket Protocol Registry and is also documented on MDN.

-param reason

Optional UTF-8-encoded data with additional information about the closure.

-remarks

-see-also

-examples

-capabilities

internetClientServer, privateNetworkClientServer