示例#1
0
 public Task PauseReadsAsync()
 {
     return(SimulacronBase.PutAsync(GetPath("pause-reads"), null));
 }
示例#2
0
 public Task Start()
 {
     return(SimulacronBase.PutAsync($"/listener/{Id}", null));
 }
示例#3
0
 public Task <JObject> EnableConnectionListener(int attempts = 0, string type = "unbind")
 {
     return(SimulacronBase.PutAsync(GetPath("listener") + "?after=" + attempts + "&type=" + type, null));
 }