Struct grpcio::ChannelBuilder [] [src]

pub struct ChannelBuilder { /* fields omitted */ }

Channel configuration object.

Methods

impl ChannelBuilder
[src]

[src]

The caller of the secure_channel_create functions may override the target name used for SSL host name checking using this channel argument. This should be used for testing only.

[src]

impl ChannelBuilder
[src]

[src]

[src]

Default authority to pass if none specified on call construction.

[src]

Maximum number of concurrent incoming streams to allow on a http2 connection.

[src]

Maximum message length that the channel can receive. usize::MAX means unlimited.

[src]

Maximum message length that the channel can send. -1 means unlimited.

[src]

The maximum time between subsequent connection attempts.

[src]

The time between the first and second connection attempts.

[src]

Initial sequence number for http2 transports.

[src]

Amount to read ahead on individual streams. Defaults to 64kb, larger values can help throughput on high-latency connections.

[src]

Primary user agent: goes at the start of the user-agent metadata sent on each request.

[src]

If enable, allow the use of SO_REUSEPORT if it's available (default true).

[src]

How large a slice to try and read from the wire each time.

[src]

How minimal large a slice to try and read from the wire each time.

[src]

How maximal large a slice to try and read from the wire each time.

[src]

How much data are we willing to queue up per stream if write_buffer_hint is set. This is an upper bound.

[src]

How big a frame are we willing to receive via HTTP2. Min 16384, max 16777215. Larger values give lower CPU usage for large messages, but more head of line blocking for small messages.

[src]

Set BDP probing.

[src]

Minimum time between sending successive ping frames without receiving any data frame.

[src]

Minimum allowed time between receiving successive ping frames without sending any data frame.

[src]

How many pings can we send before needing to send a data frame or header frame? (0 indicates that an infinite number of pings can be sent without sending a data frame or header frame)

[src]

How many misbehaving pings the server can bear before sending goaway and closing the transport? (0 indicates that the server can bear an infinite number of misbehaving pings)

[src]

Default compression algorithm for the channel.

[src]

Default compression level for the channel.

[src]

After a duration of this time the client/server pings its peer to see if the transport is still alive.

[src]

After waiting for a duration of this time, if the keepalive ping sender does not receive the ping ack, it will close the transport.

[src]

Is it permissible to send keepalive pings without any outstanding streams.

[src]

Optimize a channel.

Default is OptTarget::Blend.

[src]

Build a channel args from the current configuration.

[src]

Build an insure connection to the address.

Trait Implementations

Auto Trait Implementations