Show / Hide Table of Contents

Class WebSocketTransport

The WebSocketTransport class allows applications to send and receive AMQP traffic using the AMQP-WebSockets binding protocol.

Inheritance
System.Object
WebSocketTransport
Implements
IAsyncTransport
ITransport
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Amqp
Assembly: Amqp.Net.dll
Syntax
public class WebSocketTransport : IAsyncTransport, ITransport

Explicit Interface Implementations

IAsyncTransport.ReceiveAsync(Byte[], Int32, Int32)

Declaration
Task<int> IAsyncTransport.ReceiveAsync(byte[] buffer, int offset, int count)
Parameters
Type Name Description
System.Byte[] buffer
System.Int32 offset
System.Int32 count
Returns
Type Description
System.Threading.Tasks.Task<System.Int32>

IAsyncTransport.SendAsync(IList<ByteBuffer>, Int32)

Declaration
Task IAsyncTransport.SendAsync(IList<ByteBuffer> bufferList, int listSize)
Parameters
Type Name Description
System.Collections.Generic.IList<ByteBuffer> bufferList
System.Int32 listSize
Returns
Type Description
System.Threading.Tasks.Task

IAsyncTransport.SetConnection(Connection)

Declaration
void IAsyncTransport.SetConnection(Connection connection)
Parameters
Type Name Description
Connection connection

ITransport.Close()

Declaration
void ITransport.Close()

ITransport.Receive(Byte[], Int32, Int32)

Declaration
int ITransport.Receive(byte[] buffer, int offset, int count)
Parameters
Type Name Description
System.Byte[] buffer
System.Int32 offset
System.Int32 count
Returns
Type Description
System.Int32

ITransport.Send(ByteBuffer)

Declaration
void ITransport.Send(ByteBuffer buffer)
Parameters
Type Name Description
ByteBuffer buffer

Implements

IAsyncTransport
ITransport
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX