Session constructor

Session(
  1. String? realm,
  2. AbstractTransport _transport
)

Implementation

Session(this.realm, this._transport)

    /// The realm object my be null but must mach the uri pattern if it was
    /// passed The connection should have been established before initializing
    /// the session.
    : assert(realm == null || UriPattern.match(realm), _transport.isOpen);