Class WebSocketFrameWriter
Injects WebSocket frames onto one side of an intercepted tunnel.
Inheritance
WebSocketFrameWriter
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
Returns
|
Edit this page
View Source
WriteTextAsync(string, CancellationToken)
Writes a UTF-8 text frame.
Declaration
public Task WriteTextAsync(string text, CancellationToken cancellationToken = default)
Parameters
Returns