Definition
Assembly: CloudNimble.EasyAF.Http.dll Namespace: CloudNimble.EasyAF.Http Inheritance: System.ObjectSyntax
Summary
Copies origin, identity, and headers from an outer HttpContext onto an inner in-process request so the inner pipeline sees the public URL and the same user.Remarks
The caller constructs the inner HttpContext (typicallynew DefaultHttpContext() in
an ASP.NET Core app, or IFeatureCollection)). This type stays on
Microsoft.AspNetCore.Http.Abstractions and does not construct a context.
Examples
Methods
ConfigureRequest
Sets method, path, and query on inner, and optionally replaces the request body.Syntax
Parameters
Exceptions
CopyFromOuter
Copies scheme, host, path base, user, and non-skipped headers from outer onto inner. When outer isnull, uses
http / localhost and an empty principal.