WebSocketStream
CanRead
CanSeek
CanWrite
Length
Position
WebSocket
BeginRead(Byte[], Int32, Int32, AsyncCallback, Object)
BeginWrite(Byte[], Int32, Int32, AsyncCallback, Object)
Create(WebSocket, WebSocketMessageType, Boolean)
Create(WebSocket, WebSocketMessageType, TimeSpan)
CreateReadableMessageStream(WebSocket)
CreateWritableMessageStream(WebSocket, WebSocketMessageType)
Dispose(Boolean)
DisposeAsync()
EndRead(IAsyncResult)
EndWrite(IAsyncResult)
Flush()
FlushAsync(CancellationToken)
Read(Byte[], Int32, Int32)
ReadAsync(Byte[], Int32, Int32, CancellationToken)
ReadAsync(Memory<Byte>, CancellationToken)
Seek(Int64, SeekOrigin)
SetLength(Int64)
Write(Byte[], Int32, Int32)
WriteAsync(Byte[], Int32, Int32, CancellationToken)
WriteAsync(ReadOnlyMemory<Byte>, CancellationToken)
net10.0
namespace System.Net.WebSockets
{
public class WebSocketStream : Stream
{
public static WebSocketStream! Create(WebSocket! webSocket, WebSocketMessageType writeMessageType, TimeSpan closeTimeout);
}
}
| Design Reviews |
|
|---|---|
| .NET | 10.0 |
Information specific to net10.0 | |
| Assembly | System.Net.WebSockets , Version=10.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
| Referencing | The API is automatically referenced. |
| Preview | The API is contained in a preview framework. |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API