• Home
  • Raw
  • Download

Lines Matching defs:ChannelBuilder

73 pub struct ChannelBuilder {  struct
79 impl ChannelBuilder { argument
81 pub fn new(env: Arc<Environment>) -> ChannelBuilder { in new()
90 pub fn default_authority<S: Into<Vec<u8>>>(mut self, authority: S) -> ChannelBuilder { in default_authority()
100 pub fn set_resource_quota(mut self, quota: ResourceQuota) -> ChannelBuilder { in set_resource_quota()
111 pub fn max_concurrent_stream(mut self, num: i32) -> ChannelBuilder { in max_concurrent_stream()
120 pub fn max_receive_message_len(mut self, len: i32) -> ChannelBuilder { in max_receive_message_len()
129 pub fn max_send_message_len(mut self, len: i32) -> ChannelBuilder { in max_send_message_len()
138 pub fn max_reconnect_backoff(mut self, backoff: Duration) -> ChannelBuilder { in max_reconnect_backoff()
147 pub fn initial_reconnect_backoff(mut self, backoff: Duration) -> ChannelBuilder { in initial_reconnect_backoff()
156 pub fn https_initial_seq_number(mut self, number: i32) -> ChannelBuilder { in https_initial_seq_number()
166 pub fn stream_initial_window_size(mut self, window_size: i32) -> ChannelBuilder { in stream_initial_window_size()
176 pub fn primary_user_agent(mut self, agent: &str) -> ChannelBuilder { in primary_user_agent()
186 pub fn reuse_port(mut self, reuse: bool) -> ChannelBuilder { in reuse_port()
195 pub fn tcp_read_chunk_size(mut self, bytes: i32) -> ChannelBuilder { in tcp_read_chunk_size()
204 pub fn tcp_min_read_chunk_size(mut self, bytes: i32) -> ChannelBuilder { in tcp_min_read_chunk_size()
213 pub fn tcp_max_read_chunk_size(mut self, bytes: i32) -> ChannelBuilder { in tcp_max_read_chunk_size()
223 pub fn http2_write_buffer_size(mut self, size: i32) -> ChannelBuilder { in http2_write_buffer_size()
235 pub fn http2_max_frame_size(mut self, size: i32) -> ChannelBuilder { in http2_max_frame_size()
244 pub fn http2_bdp_probe(mut self, enable: bool) -> ChannelBuilder { in http2_bdp_probe()
257 ) -> ChannelBuilder { in http2_min_sent_ping_interval_without_data()
270 ) -> ChannelBuilder { in http2_min_recv_ping_interval_without_data()
281 pub fn http2_max_pings_without_data(mut self, num: i32) -> ChannelBuilder { in http2_max_pings_without_data()
292 pub fn http2_max_ping_strikes(mut self, num: i32) -> ChannelBuilder { in http2_max_ping_strikes()
301 pub fn enable_http_proxy(mut self, num: bool) -> ChannelBuilder { in enable_http_proxy()
310 pub fn default_compression_algorithm(mut self, algo: CompressionAlgorithms) -> ChannelBuilder { in default_compression_algorithm()
320 pub fn default_gzip_compression_level(mut self, level: usize) -> ChannelBuilder { in default_gzip_compression_level()
333 ) -> ChannelBuilder { in default_grpc_min_message_size_to_compress()
342 pub fn default_compression_level(mut self, level: CompressionLevel) -> ChannelBuilder { in default_compression_level()
352 pub fn keepalive_time(mut self, timeout: Duration) -> ChannelBuilder { in keepalive_time()
362 pub fn keepalive_timeout(mut self, timeout: Duration) -> ChannelBuilder { in keepalive_timeout()
371 pub fn keepalive_permit_without_calls(mut self, allow: bool) -> ChannelBuilder { in keepalive_permit_without_calls()
381 pub fn optimize_for(mut self, target: OptTarget) -> ChannelBuilder { in optimize_for()
397 pub fn load_balancing_policy(mut self, lb_policy: LbPolicy) -> ChannelBuilder { in load_balancing_policy()
412 pub fn use_local_subchannel_pool(mut self, enable: bool) -> ChannelBuilder { in use_local_subchannel_pool()
425 pub fn enable_retry(mut self, enable: bool) -> ChannelBuilder { in enable_retry()
437 pub fn raw_cfg_int(mut self, key: CString, val: i32) -> ChannelBuilder { in raw_cfg_int()
447 pub fn raw_cfg_string(mut self, key: CString, val: CString) -> ChannelBuilder { in raw_cfg_string()
551 impl ChannelBuilder { implementation
557 pub fn override_ssl_target<S: Into<Vec<u8>>>(mut self, target: S) -> ChannelBuilder { in override_ssl_target()
567 pub fn set_credentials(mut self, creds: ChannelCredentials) -> ChannelBuilder { in set_credentials()