Megosztás a következőn keresztül:


ClientWebSocketChannelConfig.SetOption Method

Definition

Overloads

SetOption(ChannelOption, Object)

Set a channel option.

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

Set a channel option.

SetOption(ChannelOption, Object)

Set a channel option.

public bool SetOption (DotNetty.Transport.Channels.ChannelOption option, object value);
abstract member SetOption : DotNetty.Transport.Channels.ChannelOption * obj -> bool
override this.SetOption : DotNetty.Transport.Channels.ChannelOption * obj -> bool
Public Function SetOption (option As ChannelOption, value As Object) As Boolean

Parameters

option
DotNetty.Transport.Channels.ChannelOption

The option to set.

value
Object

The option value.

Returns

Implements

DotNetty.Transport.Channels.IChannelConfiguration.SetOption(DotNetty.Transport.Channels.ChannelOption,System.Object)

Applies to

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

Set a channel option.

public bool SetOption<T> (DotNetty.Transport.Channels.ChannelOption<T> option, T value);
abstract member SetOption : DotNetty.Transport.Channels.ChannelOption<'T> * 'T -> bool
override this.SetOption : DotNetty.Transport.Channels.ChannelOption<'T> * 'T -> bool
Public Function SetOption(Of T) (option As ChannelOption(Of T), value As T) As Boolean

Type Parameters

T

Parameters

option
DotNetty.Transport.Channels.ChannelOption<T>

The option to set.

value
T

The option value.

Returns

Implements

DotNetty.Transport.Channels.IChannelConfiguration.SetOption``1(DotNetty.Transport.Channels.ChannelOption{``0},``0)

Applies to