C# Class System.Net.WebSockets.WebSocketProtocolComponent

Mostra file Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
ConvertObjectDisposedException WebSocketException
DrainActionQueue void
GetSupportedVersion string
MarshalAndVerifyHttpHeader void
MarshalHttpHeaders Interop.WebSocket.HttpHeader[]
ThrowIfSessionHandleClosed void
ThrowOnError void
WebSocketAbortHandle void
WebSocketCompleteAction void
WebSocketCreateServerHandle void
WebSocketDeleteHandle void
WebSocketGetAction void
WebSocketProtocolComponent System.IO
WebSocketReceive void
WebSocketSend void
WebSocketSendWithoutBody void

Public Methods

Method Description
Succeeded ( int hr ) : bool

Private Methods

Method Description
ConvertObjectDisposedException ( WebSocketBase webSocket, ObjectDisposedException innerException ) : WebSocketException
DrainActionQueue ( SafeHandle webSocketHandle, ActionQueue actionQueue ) : void
GetSupportedVersion ( ) : string
MarshalAndVerifyHttpHeader ( IntPtr httpHeaderPtr, Interop &httpHeader ) : void
MarshalHttpHeaders ( IntPtr nativeHeadersPtr, int nativeHeaderCount ) : Interop.WebSocket.HttpHeader[]
ThrowIfSessionHandleClosed ( WebSocketBase webSocket ) : void
ThrowOnError ( int errorCode ) : void
WebSocketAbortHandle ( SafeHandle webSocketHandle ) : void
WebSocketCompleteAction ( WebSocketBase webSocket, IntPtr actionContext, int bytesTransferred ) : void
WebSocketCreateServerHandle ( Interop properties, int propertyCount, SafeWebSocketHandle &webSocketHandle ) : void
WebSocketDeleteHandle ( IntPtr webSocketPtr ) : void
WebSocketGetAction ( WebSocketBase webSocket, ActionQueue actionQueue, Interop dataBuffers, uint &dataBufferCount, Action &action, BufferType &bufferType, IntPtr &actionContext ) : void
WebSocketProtocolComponent ( ) : System.IO
WebSocketReceive ( WebSocketBase webSocket ) : void
WebSocketSend ( WebSocketBase webSocket, BufferType bufferType, Interop buffer ) : void
WebSocketSendWithoutBody ( WebSocketBase webSocket, BufferType bufferType ) : void

Method Details

Succeeded() public static method

public static Succeeded ( int hr ) : bool
hr int
return bool