6 implementations of ReasonPhrase
Microsoft.AspNetCore.Http (1)
Features\HttpResponseFeature.cs (1)
25public string? ReasonPhrase { get; set; }
Microsoft.AspNetCore.Owin (1)
OwinFeatureCollection.cs (1)
141string IHttpResponseFeature.ReasonPhrase
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
479string? IHttpResponseFeature.ReasonPhrase
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.FeatureCollection.cs (1)
172string? IHttpResponseFeature.ReasonPhrase
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
130string? IHttpResponseFeature.ReasonPhrase
Microsoft.AspNetCore.TestHost (1)
ResponseFeature.cs (1)
48public string? ReasonPhrase
3 writes to ReasonPhrase
Microsoft.AspNetCore.Http.Extensions (1)
ResponseExtensions.cs (1)
27response.HttpContext.Features.GetRequiredFeature<IHttpResponseFeature>().ReasonPhrase = null;
Microsoft.AspNetCore.Owin (1)
OwinEnvironment.cs (1)
420{ OwinConstants.ResponseReasonPhrase, new FeatureMap<IHttpResponseFeature>(feature => feature.ReasonPhrase, (feature, value) => feature.ReasonPhrase = Convert.ToString(value, CultureInfo.InvariantCulture)) },
Microsoft.AspNetCore.Rewrite (1)
UrlActions\CustomResponseAction.cs (1)
29context.HttpContext.Features.GetRequiredFeature<IHttpResponseFeature>().ReasonPhrase = StatusReason;
7 references to ReasonPhrase
Microsoft.AspNetCore.Http (1)
src\aspnetcore\src\Shared\Debugger\HttpContextDebugFormatter.cs (1)
86return response.HttpContext.Features.Get<IHttpResponseFeature>()?.ReasonPhrase ?? reasonPhrase;
Microsoft.AspNetCore.Http.Abstractions (1)
src\aspnetcore\src\Shared\Debugger\HttpContextDebugFormatter.cs (1)
86return response.HttpContext.Features.Get<IHttpResponseFeature>()?.ReasonPhrase ?? reasonPhrase;
Microsoft.AspNetCore.Http.Features (2)
IHttpResponseFeature.cs (2)
44/// <see cref="ReasonPhrase"/>, and <see cref="Headers"/> are now immutable, and 54/// <see cref="ReasonPhrase"/>.
Microsoft.AspNetCore.Owin (1)
OwinEnvironment.cs (1)
420{ OwinConstants.ResponseReasonPhrase, new FeatureMap<IHttpResponseFeature>(feature => feature.ReasonPhrase, (feature, value) => feature.ReasonPhrase = Convert.ToString(value, CultureInfo.InvariantCulture)) },
Microsoft.AspNetCore.TestHost (2)
ClientHandler.cs (1)
213response.ReasonPhrase = httpContext.Features.GetRequiredFeature<IHttpResponseFeature>().ReasonPhrase;
HttpContextBuilder.cs (1)
242ReasonPhrase = serverResponseFeature.ReasonPhrase,