PeanutButter
Loading...
Searching...
No Matches
PeanutButter.TestUtils.AspNetCore.Builders.HttpRequestExtensions Class Reference

simplify some routines around HttpRequests More...

Static Public Member Functions

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.

Detailed Description

simplify some routines around HttpRequests

Member Function Documentation

◆ 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
request
url

◆ 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
request
url

The documentation for this class was generated from the following file:
  • source/TestUtils/PeanutButter.TestUtils.AspNetCore/Builders/HttpRequestExtensions.cs