:right-sidebar: True ServerListenOptions =================================================================== .. currentmodule:: gi.repository.Soup .. class:: ServerListenOptions :no-contents-entry: Options to pass to :obj:`~gi.repository.Server.listen`\, etc. :const:`~gi.repository.Soup.ServerListenOptions.IPV4_ONLY` and :const:`~gi.repository.Soup.ServerListenOptions.IPV6_ONLY` only make sense with :obj:`~gi.repository.Server.listen_all` and :obj:`~gi.repository.Server.listen_local`\, not plain :obj:`~gi.repository.Server.listen` (which simply listens on whatever kind of socket you give it). And you cannot specify both of them in a single call. Fields ------ .. rst-class:: interim-class .. class:: ServerListenOptions :no-index: .. attribute:: HTTPS The type of the None singleton. .. attribute:: IPV4_ONLY The type of the None singleton. .. attribute:: IPV6_ONLY The type of the None singleton.