Hoogle Search

Within LTS Haskell 24.64 (ghc-9.10.3)

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

  1. resolverLookupByNameWithFlags :: (HasCallStack, MonadIO m, IsResolver a, IsCancellable b) => a -> Text -> [ResolverNameLookupFlags] -> Maybe b -> m [InetAddress]

    gi-gio GI.Gio.Objects.Resolver

    This differs from resolverLookupByName in that you can modify the lookup behavior with flags. For example this can be used to limit results with ResolverNameLookupFlagsIpv4Only. Since: 2.60

  2. resolverLookupByNameWithFlagsAsync :: (HasCallStack, MonadIO m, IsResolver a, IsCancellable b) => a -> Text -> [ResolverNameLookupFlags] -> Maybe b -> Maybe AsyncReadyCallback -> m ()

    gi-gio GI.Gio.Objects.Resolver

    Begins asynchronously resolving hostname to determine its associated IP address(es), and eventually calls callback, which must call resolverLookupByNameWithFlagsFinish to get the result. See resolverLookupByName for more details. Since: 2.60

  3. resolverLookupByNameWithFlagsFinish :: (HasCallStack, MonadIO m, IsResolver a, IsAsyncResult b) => a -> b -> m [InetAddress]

    gi-gio GI.Gio.Objects.Resolver

    Retrieves the result of a call to resolverLookupByNameWithFlagsAsync. If the DNS resolution failed, error (if non-Nothing) will be set to a value from ResolverError. If the operation was cancelled, error will be set to IOErrorEnumCancelled. Since: 2.60

  4. resolverLookupRecords :: (HasCallStack, MonadIO m, IsResolver a, IsCancellable b) => a -> Text -> ResolverRecordType -> Maybe b -> m [GVariant]

    gi-gio GI.Gio.Objects.Resolver

    Synchronously performs a DNS record lookup for the given rrname and returns a list of records as GVariant tuples. See ResolverRecordType for information on what the records contain for each recordType. If the DNS resolution fails, error (if non-Nothing) will be set to a value from ResolverError and Nothing will be returned. If cancellable is non-Nothing, it can be used to cancel the operation, in which case error (if non-Nothing) will be set to IOErrorEnumCancelled. Since: 2.34

  5. resolverLookupRecordsAsync :: (HasCallStack, MonadIO m, IsResolver a, IsCancellable b) => a -> Text -> ResolverRecordType -> Maybe b -> Maybe AsyncReadyCallback -> m ()

    gi-gio GI.Gio.Objects.Resolver

    Begins asynchronously performing a DNS lookup for the given rrname, and eventually calls callback, which must call resolverLookupRecordsFinish to get the final result. See resolverLookupRecords for more details. Since: 2.34

  6. resolverLookupRecordsFinish :: (HasCallStack, MonadIO m, IsResolver a, IsAsyncResult b) => a -> b -> m [GVariant]

    gi-gio GI.Gio.Objects.Resolver

    Retrieves the result of a previous call to resolverLookupRecordsAsync. Returns a non-empty list of records as GVariant tuples. See ResolverRecordType for information on what the records contain. If the DNS resolution failed, error (if non-Nothing) will be set to a value from ResolverError. If the operation was cancelled, error will be set to IOErrorEnumCancelled. Since: 2.34

  7. resolverLookupService :: (HasCallStack, MonadIO m, IsResolver a, IsCancellable b) => a -> Text -> Text -> Text -> Maybe b -> m [SrvTarget]

    gi-gio GI.Gio.Objects.Resolver

    Synchronously performs a DNS SRV lookup for the given service and protocol in the given domain and returns an array of SrvTarget. domain may be an ASCII-only or UTF-8 hostname. Note also that the service and protocol arguments do not include the leading underscore that appears in the actual DNS entry. On success, resolverLookupService will return a non-empty List of SrvTarget, sorted in order of preference. (That is, you should attempt to connect to the first target first, then the second if the first fails, etc.) If the DNS resolution fails, error (if non-Nothing) will be set to a value from ResolverError and Nothing will be returned. If cancellable is non-Nothing, it can be used to cancel the operation, in which case error (if non-Nothing) will be set to IOErrorEnumCancelled. If you are planning to connect to the service, it is usually easier to create a NetworkService and use its SocketConnectable interface. Since: 2.22

  8. resolverLookupServiceAsync :: (HasCallStack, MonadIO m, IsResolver a, IsCancellable b) => a -> Text -> Text -> Text -> Maybe b -> Maybe AsyncReadyCallback -> m ()

    gi-gio GI.Gio.Objects.Resolver

    Begins asynchronously performing a DNS SRV lookup for the given service and protocol in the given domain, and eventually calls callback, which must call resolverLookupServiceFinish to get the final result. See resolverLookupService for more details. Since: 2.22

  9. resolverLookupServiceFinish :: (HasCallStack, MonadIO m, IsResolver a, IsAsyncResult b) => a -> b -> m [SrvTarget]

    gi-gio GI.Gio.Objects.Resolver

    Retrieves the result of a previous call to resolverLookupServiceAsync. If the DNS resolution failed, error (if non-Nothing) will be set to a value from ResolverError. If the operation was cancelled, error will be set to IOErrorEnumCancelled. Since: 2.22

  10. simpleActionGroupLookup :: (HasCallStack, MonadIO m, IsSimpleActionGroup a) => a -> Text -> m Action

    gi-gio GI.Gio.Objects.SimpleActionGroup

    Deprecated: (Since version 2.38)Use actionMapLookupAction

Page 144 of many | Previous | Next