3 types derived from WebSocketContext
System (1)
net\System\Net\WebSockets\HttpListenerWebSocketContext.cs (1)
15public class HttpListenerWebSocketContext : WebSocketContext
System.ServiceModel (1)
System\ServiceModel\Channels\ServiceWebSocketContext.cs (1)
17class ServiceWebSocketContext : WebSocketContext
System.Web (1)
WebSockets\AspNetWebSocketContext.cs (1)
21public abstract class AspNetWebSocketContext : WebSocketContext {
23 references to WebSocketContext
System.ServiceModel (19)
System\ServiceModel\Channels\HttpRequestContext.cs (10)
485Task<WebSocketContext> acceptTask; 521protected abstract Task<WebSocketContext> AcceptWebSocketCore(HttpResponseMessage response, string protocol); 526protected abstract void OnAcceptWebSocketSuccess(WebSocketContext context, HttpRequestMessage requestMessage); 529WebSocketContext context, 795protected override Task<WebSocketContext> AcceptWebSocketCore(HttpResponseMessage response, string protocol) 807new ArraySegment<byte>(this.webSocketInternalBuffer)).Upcast<HttpListenerWebSocketContext, WebSocketContext>(); 819protected override void OnAcceptWebSocketSuccess(WebSocketContext context, HttpRequestMessage requestMessage) 1081IAsyncResult result = this.context.AcceptWebSocketCore(response, protocol).AsAsyncResult<WebSocketContext>(onHandleAcceptWebSocketResult, this); 1123Task<WebSocketContext> acceptTask = result as Task<WebSocketContext>;
System\ServiceModel\Channels\ServerWebSocketTransportDuplexSessionChannel.cs (2)
17WebSocketContext webSocketContext; 62internal void SetWebSocketInfo(WebSocketContext webSocketContext, RemoteEndpointMessageProperty remoteEndpointMessageProperty, SecurityMessageProperty handshakeSecurityMessageProperty, byte[] innerBuffer, bool shouldDisposeWebSocketAfterClosed, HttpRequestMessage requestMessage)
System\ServiceModel\Channels\ServiceWebSocketContext.cs (2)
19WebSocketContext context; 22public ServiceWebSocketContext(WebSocketContext context, IPrincipal user)
System\ServiceModel\Channels\WebSocketMessageProperty.cs (3)
14WebSocketContext context; 24internal WebSocketMessageProperty(WebSocketContext context, string subProtocol, WebSocketMessageType incomingMessageType, ReadOnlyDictionary<string, object> properties) 32public WebSocketContext WebSocketContext
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (2)
494WebSocketContext context; 520public WebSocketMessageSource(WebSocketTransportDuplexSessionChannel webSocketTransportDuplexSessionChannel, WebSocketContext context,
System.ServiceModel.Activation (4)
System\ServiceModel\Activation\HostedHttpContext.cs (4)
34TaskCompletionSource<WebSocketContext> webSocketContextTaskSource; 86protected override Task<WebSocketContext> AcceptWebSocketCore(HttpResponseMessage response, string protocol) 89this.webSocketContextTaskSource = new TaskCompletionSource<WebSocketContext>(); 95protected override void OnAcceptWebSocketSuccess(WebSocketContext context, HttpRequestMessage requestMessage)