3 instantiations of WebSocketReceiveResult
System.Net.WebSockets (1)
System\Net\WebSockets\ManagedWebSocket.cs (1)
1056return (TResult)(object)new WebSocketReceiveResult(count, messageType, endOfMessage, _closeStatus, _closeStatusDescription);
System.Net.WebSockets.Client (2)
System\Net\WebSockets\BrowserWebSockets\BrowserWebSocket.cs (2)
492return new WebSocketReceiveResult(count, messageType, isEnd, _closeStatus, _closeStatusDescription); 506return new WebSocketReceiveResult(count, messageType, isEnd);
30 references to WebSocketReceiveResult
dotnet-svcutil-lib (7)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (7)
570WebSocketReceiveResult result = null; 704internal void CheckCloseStatus(WebSocketReceiveResult result) 764WebSocketReceiveResult result; 827private Message PrepareMessage(WebSocketReceiveResult result, byte[] buffer, int count) 1057WebSocketReceiveResult result; 1238private static void CheckResultAndEnsureNotCloseMessage(WebSocketMessageSource messageSource, WebSocketReceiveResult result) 1271Task<WebSocketReceiveResult> receiveTask =
Microsoft.DotNet.HotReload.Watch (1)
src\sdk\src\Dotnet.Watch\HotReloadClient\WebSocketClientTransport.cs (1)
204WebSocketReceiveResult result;
Microsoft.Extensions.DotNetDeltaApplier (1)
src\sdk\src\Dotnet.Watch\HotReloadAgent.Host\WebSocketTransport.cs (1)
101WebSocketReceiveResult result;
netstandard (1)
netstandard.cs (1)
1318[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.WebSockets.WebSocketReceiveResult))]
System (1)
src\runtime\src\libraries\shims\System\ref\System.cs (1)
809[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.WebSockets.WebSocketReceiveResult))]
System.Net.HttpListener (1)
System\Net\Managed\WebSockets\HttpWebSocket.Managed.cs (1)
166public override Task<WebSocketReceiveResult> ReceiveAsync(
System.Net.WebSockets (7)
System\Net\WebSockets\ManagedWebSocket.cs (4)
351public override Task<WebSocketReceiveResult> ReceiveAsync(ArraySegment<byte> buffer, CancellationToken cancellationToken) 361return ReceiveAsyncPrivate<WebSocketReceiveResult>(buffer, cancellationToken).AsTask(); 366return Task.FromException<WebSocketReceiveResult>(exc); 1043/// Returns either <see cref="ValueWebSocketReceiveResult"/> or <see cref="WebSocketReceiveResult"/>.
System\Net\WebSockets\WebSocket.cs (3)
28public abstract Task<WebSocketReceiveResult> ReceiveAsync(ArraySegment<byte> buffer, 39WebSocketReceiveResult r = await ReceiveAsync(arraySegment, cancellationToken).ConfigureAwait(false); 46WebSocketReceiveResult r = await ReceiveAsync(new ArraySegment<byte>(array, 0, buffer.Length), cancellationToken).ConfigureAwait(false);
System.Net.WebSockets.Client (4)
System\Net\WebSockets\BrowserWebSockets\BrowserWebSocket.cs (3)
174public override Task<WebSocketReceiveResult> ReceiveAsync(ArraySegment<byte> buffer, CancellationToken cancellationToken) 420private async Task<WebSocketReceiveResult> ReceiveAsyncCore(ArraySegment<byte> buffer, CancellationToken cancellationToken) 465private WebSocketReceiveResult ConvertResponse()
System\Net\WebSockets\ClientWebSocket.cs (1)
150public override Task<WebSocketReceiveResult> ReceiveAsync(ArraySegment<byte> buffer, CancellationToken cancellationToken) =>
System.ServiceModel.Http (7)
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (7)
542WebSocketReceiveResult result = null; 676internal void CheckCloseStatus(WebSocketReceiveResult result) 736WebSocketReceiveResult result; 799private Message PrepareMessage(WebSocketReceiveResult result, byte[] buffer, int count) 1029WebSocketReceiveResult result; 1210private static void CheckResultAndEnsureNotCloseMessage(WebSocketMessageSource messageSource, WebSocketReceiveResult result) 1243Task<WebSocketReceiveResult> receiveTask =