Search Results for

    Show / Hide Table of Contents

    Class WebSocketFrame

    A single decoded WebSocket frame, as produced by Decode(byte[], int, int).

    Inheritance
    object
    WebSocketFrame
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Titanium.Web.Proxy
    Assembly: Titanium.Web.Proxy.dll
    Syntax
    public class WebSocketFrame
    Remarks

    Data is an owned copy of the unmasked payload produced by Decode(byte[], int, int), safe to retain after that call returns.

    Properties

    | Edit this page View Source

    Data

    The unmasked frame payload (owned copy from WebSocketDecoder).

    Declaration
    public ReadOnlyMemory<byte> Data { get; }
    Property Value
    Type Description
    ReadOnlyMemory<byte>
    | Edit this page View Source

    IsFinal

    Declaration
    public bool IsFinal { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    OpCode

    Declaration
    public WebsocketOpCode OpCode { get; }
    Property Value
    Type Description
    WebsocketOpCode

    Methods

    | Edit this page View Source

    GetText()

    Declaration
    public string GetText()
    Returns
    Type Description
    string
    | Edit this page View Source

    GetText(Encoding)

    Declaration
    public string GetText(Encoding encoding)
    Parameters
    Type Name Description
    Encoding encoding
    Returns
    Type Description
    string
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX