Provides a faked implementation of IHttpRequestFeature.
More...
|
| FakeHttpRequestFeature (Func< HttpRequest > factory) |
| Constructs a faked HttpRequestFeature tied to the HttpRequest provided by the factory.
|
|
string | Protocol [get, set] |
string | Scheme [get, set] |
string | Method [get, set] |
string | PathBase [get, set] |
string | Path [get, set] |
string | QueryString [get, set] |
string??? | RawTarget [get, set] |
IHeaderDictionary | Headers [get, set] |
Stream | Body [get, set] |
Provides a faked implementation of IHttpRequestFeature.
◆ FakeHttpRequestFeature()
PeanutButter.TestUtils.AspNetCore.Fakes.FakeHttpRequestFeature.FakeHttpRequestFeature |
( |
Func< HttpRequest > | factory | ) |
|
Constructs a faked HttpRequestFeature tied to the HttpRequest provided by the factory.
- Parameters
-
- Exceptions
-
The documentation for this class was generated from the following file:
- source/TestUtils/PeanutButter.TestUtils.AspNetCore/Fakes/FakeHttpRequestFeature.cs