Search Results for

    Show / Hide Table of Contents

    Class WebSocketFrameWriter

    Injects WebSocket frames onto one side of an intercepted tunnel.

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

    Methods

    | Edit this page View Source

    WriteAsync(WebsocketOpCode, ReadOnlyMemory<byte>, bool, CancellationToken)

    Writes a frame with the given opcode and payload.

    Declaration
    public Task WriteAsync(WebsocketOpCode opCode, ReadOnlyMemory<byte> payload, bool isFinal = true, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    WebsocketOpCode opCode
    ReadOnlyMemory<byte> payload
    bool isFinal
    CancellationToken cancellationToken
    Returns
    Type Description
    Task
    | Edit this page View Source

    WriteTextAsync(string, CancellationToken)

    Writes a UTF-8 text frame.

    Declaration
    public Task WriteTextAsync(string text, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    string text
    CancellationToken cancellationToken
    Returns
    Type Description
    Task
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX