Skip to main content

Module config

Module config 

Source
Expand description

Configuration of the crate::HoprTransport.

Structsยง

HoprCodecConfig
Configuration of HoprEncoder and HoprDecoder.
HoprPacketPipelineConfig
Configuration of the HOPR packet pipeline.
HoprProtocolConfig
Complete configuration of the HOPR protocol stack.
HoprTicketProcessorConfig
Configuration for the HOPR ticket processor within the packet pipeline.
HostConfig
Configuration of the listening host.
ProbeConfig
Configuration for the probing mechanism
SessionGlobalConfig
Global configuration of Sessions and the Session manager.
SurbStoreConfig
Configuration for the SURB cache.
TransportConfig
Configuration of the physical transport mechanism.

Enumsยง

HostType
Enumeration of possible host types.

Constantsยง

DEFAULT_COUNTER_FLUSH_INTERVAL ๐Ÿ”’
DEFAULT_SESSION_BALANCER_BUFFER_DURATION ๐Ÿ”’
DEFAULT_SESSION_BALANCER_SAMPLING ๐Ÿ”’
DEFAULT_SESSION_ESTABLISH_MAX_RETRIES ๐Ÿ”’
DEFAULT_SESSION_ESTABLISH_RETRY_DELAY ๐Ÿ”’
DEFAULT_SESSION_IDLE_TIMEOUT ๐Ÿ”’
SESSION_IDLE_MIN_TIMEOUT ๐Ÿ”’

Functionsยง

default_counter_flush_interval ๐Ÿ”’
default_multiaddr_transport ๐Ÿ”’
default_session_balancer_buffer_duration ๐Ÿ”’
default_session_balancer_sampling ๐Ÿ”’
default_session_establish_max_retries ๐Ÿ”’
default_session_establish_retry_delay ๐Ÿ”’
default_session_idle_timeout ๐Ÿ”’
is_dns_address_regex ๐Ÿ”’
is_reachable_domain
Check whether the string is an actual reachable domain.
looks_like_domain
Check whether the string looks like a valid domain.
validate_balancer_buffer_duration ๐Ÿ”’
validate_balancer_sampling ๐Ÿ”’
validate_dns_address ๐Ÿ”’
validate_ipv4_address ๐Ÿ”’
validate_session_idle_timeout ๐Ÿ”’