Class TcpStreamSettings

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver.Core.Configuration

Assembly

MongoDB.Driver.dll

Represents settings for a TCP stream.

public class TcpStreamSettings

Inheritance

TcpStreamSettings

Inherited Members

Constructors

TcpStreamSettings(Optional, Optional, Optional<TimeSpan?>, Optional, Optional, Optional<Action>, Optional<TimeSpan?>)

Initializes a new instance of the TcpStreamSettings class.

Properties

AddressFamily

Gets the address family.

ConnectTimeout

Gets the connect timeout.

ReadTimeout

Gets the read timeout.

ReceiveBufferSize

Gets the size of the receive buffer.

SendBufferSize

Gets the size of the send buffer.

SocketConfigurator

Gets the socket configurator.

WriteTimeout

Gets the write timeout.

Methods

With(Optional, Optional, Optional<TimeSpan?>, Optional, Optional, Optional<Action>, Optional<TimeSpan?>)

Returns a new TcpStreamSettings instance with some settings changed.