Hoogle Search

Within LTS Haskell 24.58 (ghc-9.10.3)

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

  1. module GI.Gio.Objects.UnixCredentialsMessage

    This SocketControlMessage contains a Credentials instance. It may be sent using socketSendMessage and received using socketReceiveMessage over UNIX sockets (ie: sockets in the G_SOCKET_FAMILY_UNIX family). For an easier way to send and receive credentials over stream-oriented UNIX sockets, see unixConnectionSendCredentials and unixConnectionReceiveCredentials. To receive credentials of a foreign process connected to a socket, use socketGetCredentials. Since GLib 2.72, GUnixCredentialMessage is available on all platforms. It requires underlying system support (such as Windows 10 with AF_UNIX) at run time. Before GLib 2.72, <gio/gunixcredentialsmessage.h> belonged to the UNIX-specific GIO interfaces, thus you had to use the gio-unix-2.0.pc pkg-config file when using it. This is no longer necessary since GLib 2.72. Since: 2.26

  2. class (GObject o, IsDescendantOf UnixCredentialsMessage o) => IsUnixCredentialsMessage o

    gi-gio GI.Gio.Objects.UnixCredentialsMessage

    Type class for types which can be safely cast to UnixCredentialsMessage, for instance with toUnixCredentialsMessage.

  3. newtype UnixCredentialsMessage

    gi-gio GI.Gio.Objects.UnixCredentialsMessage

    Memory-managed wrapper type.

  4. UnixCredentialsMessage :: ManagedPtr UnixCredentialsMessage -> UnixCredentialsMessage

    gi-gio GI.Gio.Objects.UnixCredentialsMessage

    No documentation available.

  5. constructUnixCredentialsMessageCredentials :: (IsUnixCredentialsMessage o, MonadIO m, IsCredentials a) => a -> m (GValueConstruct o)

    gi-gio GI.Gio.Objects.UnixCredentialsMessage

    Construct a GValueConstruct with valid value for the “credentials” property. This is rarely needed directly, but it is used by new.

  6. getUnixCredentialsMessageCredentials :: (MonadIO m, IsUnixCredentialsMessage o) => o -> m Credentials

    gi-gio GI.Gio.Objects.UnixCredentialsMessage

    Get the value of the “credentials” property. When overloading is enabled, this is equivalent to

    get unixCredentialsMessage #credentials
    

  7. toUnixCredentialsMessage :: (MonadIO m, IsUnixCredentialsMessage o) => o -> m UnixCredentialsMessage

    gi-gio GI.Gio.Objects.UnixCredentialsMessage

    Cast to UnixCredentialsMessage, for types for which this is known to be safe. For general casts, use castTo.

  8. unixCredentialsMessageGetCredentials :: (HasCallStack, MonadIO m, IsUnixCredentialsMessage a) => a -> m Credentials

    gi-gio GI.Gio.Objects.UnixCredentialsMessage

    Gets the credentials stored in message. Since: 2.26

  9. unixCredentialsMessageIsSupported :: (HasCallStack, MonadIO m) => m Bool

    gi-gio GI.Gio.Objects.UnixCredentialsMessage

    Checks if passing Credentials on a Socket is supported on this platform. Since: 2.26

  10. unixCredentialsMessageNew :: (HasCallStack, MonadIO m) => m UnixCredentialsMessage

    gi-gio GI.Gio.Objects.UnixCredentialsMessage

    Creates a new UnixCredentialsMessage with credentials matching the current processes. Since: 2.26

Page 163 of many | Previous | Next