public override async Task SendResponseAsync(int statusCode = 200, TestHeadersSink?headers = null, string?content = null, TestHeadersSink?trailingHeaders = null) { await _writeSemaphore.WaitAsync(); await _connection.SendResponseAsync(this, statusCode, headers, content, chunkedContent : null, trailingHeaders).ConfigureAwait(false); }
public override Task SendResponseAsync(int statusCode = 200, TestHeadersSink?headers = null, string?content = null, TestHeadersSink?trailingHeaders = null) => _connection.SendResponseAsync(statusCode, headers, content, chunkedContent: null, trailingHeaders);