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