1
我有必要从在当时进行的其他进程发送服务器端事件,我不知道该怎么做))ServiceStack ServerEvents:从另一个进程发送事件
我将不胜感激任何帮助!
预先感谢您!
public override void Configure(Container container) {
...
container.Register(c => new DispatchService());
}
public class DispatchService {
.
public void SomeFunction(){
//here I want to send an event to the session
NotifySession(sspid, selector, message);
}
}