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