simplify some routines around HttpRequests
More...
|
static void | SetUrl (this HttpRequest request, Uri url) |
| Set the request up as if it came from the provided url.
|
static void | SetUrl (this HttpRequest request, string url) |
| Set the request up as if it came from the provided url.
|
simplify some routines around HttpRequests
◆ SetUrl() [1/2]
void PeanutButter.TestUtils.AspNetCore.Builders.HttpRequestExtensions.SetUrl |
( |
this HttpRequest | request, |
|
|
string | url ) |
|
static |
Set the request up as if it came from the provided url.
- Parameters
-
◆ SetUrl() [2/2]
void PeanutButter.TestUtils.AspNetCore.Builders.HttpRequestExtensions.SetUrl |
( |
this HttpRequest | request, |
|
|
Uri | url ) |
|
static |
Set the request up as if it came from the provided url.
- Parameters
-
The documentation for this class was generated from the following file:
- source/TestUtils/PeanutButter.TestUtils.AspNetCore/Builders/HttpRequestExtensions.cs