HORIZON HASKELLDocslts/ghc-10.0.xaa25b892026-10-10Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · aa25b89 · 2026-10-10

Modulevortex-session-0.3.0GHC2024

Vortex.Session

The seam between transports and everything else. A transport's whole job is to produce values of Session; it knows nothing about wisps, shells, or evaluation. Process isolation, if ever wanted, is a Session backed by a socket handoff — no other layer changes.

  • 3 types
datadata Identity
#

Raw authentication material, pre-login. Login turns this into a Wisp; transports never do.

Constructors

  • Anonymous

    An unauthenticated transport (e.g. a websocket on a trusted network); login policy decides what becomes of it.

  • RawKey String

    A raw public key, textual form.

  • Principals [String]

    A CA certificate's principals, as verified by the transport.

  • Peer Int Int Int

    A unix-socket peer, as the kernel reports it: uid, gid, pid.

Instances2Eq, Show
  • Eq IdentityDefined in vortex-session-0.3.0 · Vortex.Session
  • Show IdentityDefined in vortex-session-0.3.0 · Vortex.Session
datadata Session
#

Constructors