/// <summary> /// Overwrites the stubs of an existing imposter without restarting it. /// </summary> /// <param name="imposter">The imposter to be updated with new stubs</param> /// <exception cref="MbDotNet.Exceptions.ImposterNotFoundException">Thrown if no imposter was found on the specified port.</exception> public async Task UpdateImposterAsync(Imposter imposter, CancellationToken cancellationToken = default) { await _requestProxy.UpdateImposterAsync(imposter, cancellationToken); }