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