Hoogle Search

Within LTS Haskell 24.69 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. simpleProxyResolverSetDefaultProxy :: (HasCallStack, MonadIO m, IsSimpleProxyResolver a) => a -> Maybe Text -> m ()

    gi-gio GI.Gio.Objects.SimpleProxyResolver

    Sets the default proxy on resolver, to be used for any URIs that don't match SimpleProxyResolver:ignoreHosts or a proxy set via simpleProxyResolverSetUriProxy. If defaultProxy starts with "socks://", SimpleProxyResolver will treat it as referring to all three of the socks5, socks4a, and socks4 proxy types. Since: 2.36

  2. simpleProxyResolverSetIgnoreHosts :: (HasCallStack, MonadIO m, IsSimpleProxyResolver a) => a -> [Text] -> m ()

    gi-gio GI.Gio.Objects.SimpleProxyResolver

    Sets the list of ignored hosts. See SimpleProxyResolver:ignoreHosts for more details on how the ignoreHosts argument is interpreted. Since: 2.36

  3. simpleProxyResolverSetUriProxy :: (HasCallStack, MonadIO m, IsSimpleProxyResolver a) => a -> Text -> Text -> m ()

    gi-gio GI.Gio.Objects.SimpleProxyResolver

    Adds a URI-scheme-specific proxy to resolver; URIs whose scheme matches uriScheme (and which don't match SimpleProxyResolver:ignoreHosts) will be proxied via proxy. As with SimpleProxyResolver:defaultProxy, if proxy starts with "socks://", SimpleProxyResolver will treat it as referring to all three of the socks5, socks4a, and socks4 proxy types. Since: 2.36

  4. socketSetBlocking :: (HasCallStack, MonadIO m, IsSocket a) => a -> Bool -> m ()

    gi-gio GI.Gio.Objects.Socket

    Sets the blocking mode of the socket. In blocking mode all operations (which don’t take an explicit blocking parameter) block until they succeed or there is an error. In non-blocking mode all functions return results immediately or with a IOErrorEnumWouldBlock error. All sockets are created in blocking mode. However, note that the platform level socket is always non-blocking, and blocking mode is a GSocket level feature. Since: 2.22

  5. socketSetBroadcast :: (HasCallStack, MonadIO m, IsSocket a) => a -> Bool -> m ()

    gi-gio GI.Gio.Objects.Socket

    Sets whether socket should allow sending to broadcast addresses. This is False by default. Since: 2.32

  6. socketSetKeepalive :: (HasCallStack, MonadIO m, IsSocket a) => a -> Bool -> m ()

    gi-gio GI.Gio.Objects.Socket

    Sets or unsets the SO_KEEPALIVE flag on the underlying socket. When this flag is set on a socket, the system will attempt to verify that the remote socket endpoint is still present if a sufficiently long period of time passes with no data being exchanged. If the system is unable to verify the presence of the remote endpoint, it will automatically close the connection. This option is only functional on certain kinds of sockets. (Notably, SocketProtocolTcp sockets.) The exact time between pings is system- and protocol-dependent, but will normally be at least two hours. Most commonly, you would set this flag on a server socket if you want to allow clients to remain idle for long periods of time, but also want to ensure that connections are eventually garbage-collected if clients crash or become unreachable. Since: 2.22

  7. socketSetListenBacklog :: (HasCallStack, MonadIO m, IsSocket a) => a -> Int32 -> m ()

    gi-gio GI.Gio.Objects.Socket

    Sets the maximum number of outstanding connections allowed when listening on this socket. If more clients than this are connecting to the socket and the application is not handling them on time then the new connections will be refused. Note that this must be called before socketListen and has no effect if called after that. Since: 2.22

  8. socketSetMulticastLoopback :: (HasCallStack, MonadIO m, IsSocket a) => a -> Bool -> m ()

    gi-gio GI.Gio.Objects.Socket

    Sets whether outgoing multicast packets will be received by sockets listening on that multicast address on the same host. This is True by default. Since: 2.32

  9. socketSetMulticastTtl :: (HasCallStack, MonadIO m, IsSocket a) => a -> Word32 -> m ()

    gi-gio GI.Gio.Objects.Socket

    Sets the time-to-live for outgoing multicast datagrams on socket. By default, this is 1, meaning that multicast packets will not leave the local network. Since: 2.32

  10. socketSetOption :: (HasCallStack, MonadIO m, IsSocket a) => a -> Int32 -> Int32 -> Int32 -> m ()

    gi-gio GI.Gio.Objects.Socket

    Sets the value of an integer-valued option on socket, as with setsockopt(). (If you need to set a non-integer-valued option, you will need to call setsockopt() directly.) The [<gio/gnetworking.h>][gio-gnetworking.h] header pulls in system headers that will define most of the standard/portable socket options. For unusual socket protocols or platform-dependent options, you may need to include additional headers. Since: 2.36

Page 1248 of many | Previous | Next