dls v0.1.2 (2018-03-24T18:04:37Z)
Dub
Repo
Server
dls
server
Undocumented in source.
abstract
class
Server {
import
logger
=
std
.
experimental
.
logger
;
;
import
dls
.
protocol
.
interfaces
:
InitializeParams
;
;
import
std
.
algorithm
:
find
,
findSplit
;
;
import
std
.
algorithm
:
find
,
findSplit
;
;
import
std
.
json
:
JSONValue
;
;
import
std
.
typecons
:
Nullable
;
;
import
std
.
string
:
strip
,
stripRight
;
;
import
std
.
string
:
strip
,
stripRight
;
;
static
auto
initState
[@property getter];
static
InitializeParams
initState
[@property setter];
static
T
opDispatch
[@property setter];
static
void
loop
();
static
auto
send
(string method, Nullable!JSONValue params);
static
auto
send
(string method, T params);
}
Members
Properties
initState
auto
initState
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
initState
InitializeParams
initState
[@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
opDispatch
T
opDispatch
[@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
Static functions
loop
void
loop
()
Undocumented in source. Be warned that the author may not have intended to support it.
send
auto
send
(string method, Nullable!JSONValue params)
Sends a request or a notification message.
send
auto
send
(string method, T params)
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
dls
server
classes
Server