Implemented interface member:
9 writes to IsReadOnly
Microsoft.AspNetCore.Server.HttpSys (9)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
629Response.Headers.IsReadOnly = true; // Prohibit further modifications.
RequestProcessing\RequestContextOfT.cs (2)
89Response.Headers.IsReadOnly = false; 90Response.Trailers.IsReadOnly = false;
RequestProcessing\Response.cs (6)
43Headers.IsReadOnly = false; 148public HeaderCollection Trailers => _trailers ??= new HeaderCollection(checkTrailers: true) { IsReadOnly = BodyIsFinished }; 190_trailers.IsReadOnly = true; 379Headers.IsReadOnly = false; // Temporarily unlock 477Headers.IsReadOnly = true; 488Headers.IsReadOnly = true; // Prohibit further modifications.
1 reference to IsReadOnly
Microsoft.AspNetCore.Server.HttpSys (1)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
254if (IsReadOnly)