SoupServerListenOptions

Options to pass to soup.server.Server.listen, etc.

soup.types.ServerListenOptions.Ipv4Only and soup.types.ServerListenOptions.Ipv6Only only make sense with soup.server.Server.listenAll and soup.server.Server.listenLocal, not plain soup.server.Server.listen (which simply listens on whatever kind of socket you give it). And you cannot specify both of them in a single call.

Values

ValueMeaning
Https1

Listen for https connections rather than plain http.

Ipv4Only2

Only listen on IPv4 interfaces.

Ipv6Only4

Only listen on IPv6 interfaces.