Implemented interface member:
8 writes to IsReadOnly
Microsoft.AspNetCore.Server.HttpSys (8)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
631Response.Headers.IsReadOnly = true; // Prohibit further modifications.
RequestProcessing\RequestContextOfT.cs (2)
95Response.Headers.IsReadOnly = false; 96Response.Trailers.IsReadOnly = false;
RequestProcessing\Response.cs (5)
44Headers.IsReadOnly = false; 149public HeaderCollection Trailers => _trailers ??= new HeaderCollection(checkTrailers: true) { IsReadOnly = BodyIsFinished }; 377Headers.IsReadOnly = false; // Temporarily unlock 475Headers.IsReadOnly = true; 486Headers.IsReadOnly = true; // Prohibit further modifications.
2 references to IsReadOnly
Microsoft.AspNetCore.Server.HttpSys (2)
RequestProcessing\Response.cs (1)
189_trailers?.IsReadOnly = true;
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
254if (IsReadOnly)