Unosquare
    Show / Hide Table of Contents

    Enum Opcode

    Indicates the WebSocket frame type.

    Namespace: EmbedIO.WebSockets
    Syntax
    public enum Opcode : byte
    Remarks

    The values of this enumeration are defined in Section 5.2 of RFC 6455.

    Fields

    Name Description
    Binary

    Equivalent to numeric value 2. Indicates binary frame.

    Close

    Equivalent to numeric value 8. Indicates connection close frame.

    Cont

    Equivalent to numeric value 0. Indicates continuation frame.

    Ping

    Equivalent to numeric value 9. Indicates ping frame.

    Pong

    Equivalent to numeric value 10. Indicates pong frame.

    Text

    Equivalent to numeric value 1. Indicates text frame.

    Comments

    Back to top Copyright © 2017-2019 Unosquare