Udostępnij za pośrednictwem


ClientWebSocketChannelConfig Class

Definition

Client Websocket channel configurations

public class ClientWebSocketChannelConfig : DotNetty.Transport.Channels.IChannelConfiguration
type ClientWebSocketChannelConfig = class
    interface IChannelConfiguration
Public Class ClientWebSocketChannelConfig
Implements IChannelConfiguration
Inheritance
ClientWebSocketChannelConfig
Implements
DotNetty.Transport.Channels.IChannelConfiguration

Constructors

ClientWebSocketChannelConfig()

Properties

Allocator

Thread-safe interface for allocating IByteBuffer

AutoRead

Whether or not auto-read is enabled.

ConnectTimeout

Channel connection timeout.

MessageSizeEstimator

Calculates the size of the given message.

RecvByteBufAllocator

Allocates a new receive buffer whose capacity is probably large enough to read all inbound data and small enough not to waste its space.

WriteBufferHighWaterMark

Write buffer high water mark.

WriteBufferLowWaterMark

Write buffer low water mark

WriteSpinCount

Write spin count.

Methods

GetOption<T>(ChannelOption<T>)

Gets channel options from the configuration.

SetOption(ChannelOption, Object)

Set a channel option.

SetOption<T>(ChannelOption<T>, T)

Set a channel option.

Applies to