Class LinksSession
A connection to a LinksSessions store: its requests run as its subject.
public sealed class LinksSession : IDisposable
- Inheritance
-
LinksSession
- Implements
- Inherited Members
Properties
Subject
The subject the requests run as; the null link (0) is a guest.
public uint Subject { get; }
Property Value
View
The store as the subject sees it, when there are permissions.
public PermissionsDecorator<uint>? View { get; }
Property Value
Methods
Dispose()
Closes the session.
public void Dispose()
Execute(IReadOnlyList<Link<string>>)
Answers one request document.
public IReadOnlyList<Link<string>> Execute(IReadOnlyList<Link<string>> document)
Parameters
documentIReadOnlyList<Link<string>>
Returns
- IReadOnlyList<Link<string>>
Request(string)
Answers a request written as LiNo text, as the text protocol does.
public string Request(string text)
Parameters
textstring