Function createServerSession

Creates a server session. Runs and blocks the current task.

ServerSession!API createServerSession(Implementation, API, ConnectionInfo) (
  Stream stream,
  ConnectionInfo info
)
if (isServerAPI!(Implementation, ConnectionInfo));

Throws

Throws exceptions on unrecoverable errors. In such cases the caller should close the underlying connection.