HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduledbus-1.4.1Haskell2010

DBus.Transport

Support for defining custom transport mechanisms. Most users will not need to care about the types defined in this module.

  • 2 types
  • 3 classes
  • 5 values
  • Packagedbus-1.4.1
  • Exports10
  • LanguageHaskell2010
  • LicenceApache-2.0
  • SourceTransport.hs

Transports

3 declarations
classclass Transport t where
#

A Transport can exchange bytes with a remote peer.

Associated types

  • data family TransportOptions t

    Additional options that this transport type may use when establishing a connection.

Methods

Instances2Transport
classclass Transport t => TransportListen t where
#

A Transport which can listen for and accept connections from remote peers.

Associated types

Methods

Instances1TransportListen

Transport errors

4 declarations

Socket transport

3 declarations
datadata SocketTransport
#

Supports connecting over Unix or TCP sockets.

Unix sockets are similar to pipes, but exist as special files in the filesystem. On Linux, abstract sockets have a path-like address, but do not actually have entries in the filesystem.

TCP sockets may use either IPv4 or IPv6.

Instances5TransportOpen, Transport, TransportListen, TransportListener, TransportOptions