Edit

Share via


WebSocketMessageFlags Enum

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Flags for controlling how the WebSocket should send a message.

This enumeration supports a bitwise combination of its member values.

C#
[System.Flags]
public enum WebSocketMessageFlags
Inheritance
WebSocketMessageFlags
Attributes

Fields

Name Value Description
None 0

None

EndOfMessage 1

Indicates that the data in "buffer" is the last part of a message.

DisableCompression 2

Disables compression for the message if compression has been enabled for the WebSocket instance.

Applies to

Product Versions
.NET 6, 7, 8, 9, 10