UDP Listener Config

Listener configuration overview

listener.UdpListenerConfig

[listener.UdpListenerConfig proto]

  1. {
  2. "udp_listener_name": "...",
  3. "config": "{...}",
  4. "typed_config": "{...}"
  5. }

udp_listener_name

(string) Used to look up UDP listener factory, matches “raw_udp_listener” or “quic_listener” to create a specific udp listener. If not specified, treat as “raw_udp_listener”.

config

(Struct) Used to create a specific listener factory. To some factory, e.g. “raw_udp_listener”, config is not needed.

Only one of config, typed_config may be set.

typed_config

(Any) Used to create a specific listener factory. To some factory, e.g. “raw_udp_listener”, config is not needed.

Only one of config, typed_config may be set.